mediatek: filogic: move nand-only devices out of bootdev detection
authorTianling Shen <cnsztl@immortalwrt.org>
Sun, 14 Apr 2024 02:42:21 +0000 (10:42 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 6 Jun 2024 17:56:32 +0000 (18:56 +0100)
commita568540fd4dda9042b8465662860641822c20551
tree3e742b8e6190e3653ba821a044bcb61590f8ccf9
parent40e7fab9e4a294882f198cb7fb5bc5eecee26ac8
mediatek: filogic: move nand-only devices out of bootdev detection

For the first-time installation (mostly migrates from vendor firmware)
the ubiblock is not ready, but bootdev detection relies on it. This
means users must create ubiblock manually otherwise the sysupgrade
will not work.

Now a unique case is added for nand devices which use new fit format,
let's move to it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh