kernel: mtdsplit: bcm_wfi: support Sercomm bootflags
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 2 Jun 2020 06:57:38 +0000 (08:57 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 2 Jun 2020 07:08:30 +0000 (09:08 +0200)
commitfce7380e0ea89b2b78a3de65ca56d8e42c77e732
tree1cacc98c94e4afc838bcee22289a71c40e0c3d48
parentcd81d105d50d29dfa253c8659509e9e0272d9b32
kernel: mtdsplit: bcm_wfi: support Sercomm bootflags

Sercomm uses 2 bootflag partitions and boots the firmware with the highest
bootflag. Support splitting the firmware partition while keeping support for
unsplitted layout.

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