From bc41fb7efee755a1fe1112493365817650c3e2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Thu, 29 Nov 2018 14:07:59 +0100 Subject: ath79: Define firmware partition format to all boards where applicable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parsing "firmware" partition (to create kernel + rootfs) was implemented using OpenWrt downstream code enabled by CONFIG_MTD_SPLIT_FIRMWARE. With recent upstream mtd changes we can do it in a more clean way for DTS targets. It just requires adding a proper "compatible" string to the "firmware" partition node. Signed-off-by: Petr Štetiar --- target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts') diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts index f2dbac3c7c..100e7dbf46 100644 --- a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts +++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts @@ -146,6 +146,7 @@ }; partition@20000 { + compatible = "tplink,firmware"; label = "firmware"; reg = <0x020000 0x7d0000>; }; -- cgit v1.2.3