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

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

index 2f8be2fcd7762a33e56557956500089f5d8082cf..70c08adcde97cda458bf8af24a0d3a3f8d5b5aa3 100644 (file)
@@ -57,6 +57,8 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_MTDPARTS=y
+CONFIG_MTDIDS_DEFAULT="nand0=nand"
+CONFIG_MTDPARTS_DEFAULT="mtdparts=nand:240M(user),8M(errlog),8M(nand-bbt)"
 CONFIG_CMD_UBI=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_ARP_TIMEOUT=200
index dee87cb77325d8ba48720cc26f75a179054e280f..c213dc6074b018a93df968aca9106ad08e260e7c 100644 (file)
@@ -32,8 +32,6 @@
 
 /* SPI NOR flash default params, used by sf commands */
 
-#define MTDIDS_DEFAULT                 "nand0=nand"
-#define MTDPARTS_DEFAULT               "mtdparts=nand:240M(user),8M(errlog),8M(nand-bbt)"
 #define MTDPARTS_MTDOOPS               "errlog"
 
 /* Partition support */