summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2022-12-07 09:26:41 +0100
committerTom Rini <[email protected]>2022-12-12 16:46:07 -0500
commitbde4a407ea89704e5d2dd6d77140a4d2616c171d (patch)
treea4db7dcc4ae6cd232f15905531ce410cdce3ae0f
parent828d7e6022f2ae827aa278fc6bc15efee0d0a6b6 (diff)
configs: x530: move MTDPART/MTDIDS_DEFAULT in defconfig
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 <[email protected]>
-rw-r--r--configs/x530_defconfig2
-rw-r--r--include/configs/x530.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/x530_defconfig b/configs/x530_defconfig
index 2f8be2fcd77..70c08adcde9 100644
--- a/configs/x530_defconfig
+++ b/configs/x530_defconfig
@@ -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
diff --git a/include/configs/x530.h b/include/configs/x530.h
index dee87cb7732..c213dc6074b 100644
--- a/include/configs/x530.h
+++ b/include/configs/x530.h
@@ -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 */