mpc85xx: enable NAND support for all subtargets
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 7 Jun 2022 11:13:11 +0000 (13:13 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 16 Aug 2022 13:24:14 +0000 (15:24 +0200)
In subtarget p2020, there wasn't enabled nand support, and because of
that there weren't available tools from mtd-utils package, which has
utilities for NAND flash memory even though reference board, which
is the only currently supported device in p2020 subtarget has NAND [1].

All subtargets in mpc85xx has already enabled nand support, let's do it
globally.

[1] https://www.nxp.com/design/qoriq-developer-resources/p2020-reference-design-board:P2020RDB

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 6006f73383cc7626552175010de23530bdcc8718)

target/linux/mpc85xx/Makefile
target/linux/mpc85xx/p1010/target.mk
target/linux/mpc85xx/p1020/target.mk

index 6bf096740e48b3041aa97143c642fe038415db8c..398e578882054198fb4d73dd0591eb9e0b21d45f 100644 (file)
@@ -8,7 +8,7 @@ ARCH:=powerpc
 BOARD:=mpc85xx
 BOARDNAME:=Freescale MPC85xx
 CPU_TYPE:=8540
-FEATURES:=squashfs ramdisk
+FEATURES:=squashfs ramdisk nand
 SUBTARGETS:=p1010 p1020 p2020
 
 KERNEL_PATCHVER:=5.10
index 12ed78ace19833b7d93db066dadac1bbd01e9c7b..019536ff1ab3944835c1ca6100dc3085b2cdc423 100644 (file)
@@ -1,5 +1,4 @@
 BOARDNAME:=P1010
-FEATURES+=nand
 KERNELNAME:=simpleImage.tl-wdr4900-v1
 
 define Target/Description
index a25409eebbc1caf6bc2cdbd2c080eae245e1b691..000fc6464444aedf2510170edf300865b29c90d4 100644 (file)
@@ -1,5 +1,4 @@
 BOARDNAME:=P1020
-FEATURES+=nand
 
 define Target/Description
        Build firmware images for Freescale P1020 based boards.