]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: SBx81LIFKW: move MTDPART_DEFAULT in defconfig
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 7 Dec 2022 08:26:43 +0000 (09:26 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Dec 2022 21:46:07 +0000 (16:46 -0500)
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
include/configs/SBx81LIFKW.h

index fa7c35b9ef77456fb43f92a091a076912ef1e350..e53f2489c5d0c23e66bc6bc144d3f073df1b3258 100644 (file)
@@ -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
index bad34d9771ecf53a8305017447bf709963284764..d5c9c05767a05b17dedf438c5b31b5c4ab83e7d2 100644 (file)
@@ -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"
 
 /*