From cd9c2492c18d1c2abd200e5911ad546d7c77a617 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Tue, 4 Sep 2018 23:27:01 +0200 Subject: ath79: port cybertan_part from ar71xx This patch ports the cybertan_part code from ar71xx and converts the driver to a DT-supported mtd parser. As a result, it will no longer add the u-boot, nvram and art partitions, which were never part of the special Cybertan header. Instead these partitions have to be specified in the DT, which has the upside of making it possible to add properties (i.e.: read-only), labels and references to these important partitions. Signed-off-by: Christian Lamparter --- target/linux/ath79/config-4.14 | 1 + 1 file changed, 1 insertion(+) (limited to 'target/linux/ath79/config-4.14') diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14 index a8349040a1..6f273e1bcd 100644 --- a/target/linux/ath79/config-4.14 +++ b/target/linux/ath79/config-4.14 @@ -163,6 +163,7 @@ CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_M25P80=y # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set +CONFIG_MTD_PARSER_CYBERTAN=y CONFIG_MTD_PHYSMAP=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_SPLIT_FIRMWARE=y -- cgit v1.2.3