kernel: mtdsplit: support Broadcom WFI bootflags
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 2 Jun 2020 15:52:12 +0000 (17:52 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 2 Jun 2020 16:23:40 +0000 (18:23 +0200)
commit18d2eeab8e4b12fd8c1083a760cf00e519a913f9
treec15ac7440cde9ba644dcc06c7dfa1701669e65ce
parent1fd3dabfaf189f4ebe23c131b260fda52cc7f002
kernel: mtdsplit: support Broadcom WFI bootflags

When firmware is flashed, cferam.000 extension is renamed to the next number.
When booting, CFE scans the NAND and picks the partition with the highest
cferam extension and ignores the other one.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_bcm_wfi.c