summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-12-07 09:26:43 +0100
committerTom Rini <trini@konsulko.com>2022-12-12 16:46:07 -0500
commit72e79f998e79626a551d22c637abf4c5786e8046 (patch)
treed1cc9d027fc6c294d80e1c85c571c2c3c6f0e89d
parent91b9551fb3c877f5c35324f31736787b4c7228cd (diff)
downloadu-boot-72e79f998e79626a551d22c637abf4c5786e8046.tar.gz
u-boot-72e79f998e79626a551d22c637abf4c5786e8046.tar.bz2
u-boot-72e79f998e79626a551d22c637abf4c5786e8046.zip
configs: SBx81LIFKW: move MTDPART_DEFAULT in defconfig
Replace MTDPARTS_DEFAULT in the config include file by CONFIG_MTDPARTS_DEFAULT in defconfig to complete the Kconfig migration. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
-rw-r--r--configs/SBx81LIFKW_defconfig1
-rw-r--r--include/configs/SBx81LIFKW.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig
index fa7c35b9ef..e53f2489c5 100644
--- a/configs/SBx81LIFKW_defconfig
+++ b/configs/SBx81LIFKW_defconfig
@@ -34,6 +34,7 @@ CONFIG_BOOTP_NTPSERVER=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
CONFIG_CMD_SNTP=y
+CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:768K(boot)ro,256K(boot-env),14M(user),1M(errlog)"
CONFIG_DOS_PARTITION=y
CONFIG_OF_CONTROL=y
CONFIG_ENV_OVERWRITE=y
diff --git a/include/configs/SBx81LIFKW.h b/include/configs/SBx81LIFKW.h
index bad34d9771..d5c9c05767 100644
--- a/include/configs/SBx81LIFKW.h
+++ b/include/configs/SBx81LIFKW.h
@@ -21,7 +21,6 @@
* for your console driver.
*/
-#define MTDPARTS_DEFAULT "mtdparts=spi0.0:768K(boot)ro,256K(boot-env),14M(user),1M(errlog)"
#define MTDPARTS_MTDOOPS "errlog"
/*