]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am333x_guardian: move MTDIDS_DEFAULT in defconfif
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 7 Dec 2022 08:26:40 +0000 (09:26 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Dec 2022 21:46:07 +0000 (16:46 -0500)
Replace MTDIDS_DEFAULT in config include file by CONFIG_MTDIDS_DEFAULT
in defonfig to complete the Kconfig migration

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
configs/am335x_guardian_defconfig
include/configs/am335x_guardian.h

index fef4fd1551000ed7a7889d0568f1bd7e98970c91..0feac53c3509740437fbfff4d3a717ae6e51cc36 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_SYS_DISABLE_AUTOLOAD=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_MTDPARTS=y
+CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:256k(SPL),256k(SPL.backup1),256k(SPL.backup2),256k(SPL.backup3),1m(u-boot),1m(u-boot.backup1),1m(u-boot-2),1m(u-boot-2.backup1),256k(u-boot-env),256k(u-boot-env.backup1),256k(splash-screen),-(UBI)"
 CONFIG_CMD_UBI=y
 # CONFIG_SPL_DOS_PARTITION is not set
index 7c5e7ce475ef3c76496b4da62d0691ae92ec04c7..a5b83b0c25dd865ebe4c80f106a627312ff66744 100644 (file)
                        }
 #define CFG_SYS_NAND_ECCSIZE         512
 #define CFG_SYS_NAND_ECCBYTES        26
-#define MTDIDS_DEFAULT                  "nand0=nand.0"
 
 #endif /* CONFIG_MTD_RAW_NAND */