diff mbox series

[4/5] configs: SBx81LIFKW: move MTDPART_DEFAULT in defconfig

Message ID 20221207092619.4.If9acd97bbd320bcd33d21d7956a7a750eca24873@changeid
State Accepted
Commit 72e79f998e79626a551d22c637abf4c5786e8046
Delegated to: Tom Rini
Headers show
Series Complete the migration of MTDPARTS_DEFAULT / MTDIDS_DEFAULT | expand

Commit Message

Patrick DELAUNAY Dec. 7, 2022, 8:26 a.m. UTC
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>
---

 configs/SBx81LIFKW_defconfig | 1 +
 include/configs/SBx81LIFKW.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig
index fa7c35b9ef77..e53f2489c5d0 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 bad34d9771ec..d5c9c05767a0 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"
 
 /*