ath79: port cybertan_part from ar71xx
authorChristian Lamparter <chunkeey@gmail.com>
Tue, 4 Sep 2018 21:27:01 +0000 (23:27 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 10 Sep 2018 07:07:11 +0000 (09:07 +0200)
commitcd9c2492c18d1c2abd200e5911ad546d7c77a617
tree1989635d0b74eec586b3c3a33e8658659af20904
parentffa80bf5a784a34b81e32144669f30560780bdb6
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 <chunkeey@gmail.com>
target/linux/ath79/config-4.14
target/linux/ath79/files/drivers/mtd/parsers/parser_cybertan.c [new file with mode: 0644]
target/linux/ath79/patches-4.14/404-mtd-cybertan-trx-parser.patch [new file with mode: 0644]