]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: SBx81LIFXCAT: move MTDPART_DEFAULT in defconfig
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 7 Dec 2022 08:26:42 +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/SBx81LIFXCAT_defconfig
include/configs/SBx81LIFXCAT.h

index 125871301e341fca7936aca3dedb9ded8c9632d5..80dbbb11c9bafcabaa55c09dccd9f43f22159c2a 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 # CONFIG_CMD_LED is not set
+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 9a9663b34ba8ce5bb440bdb07ffbb3f5091b1035..23d37394e076d4971bb720fd38d3ee058f60543f 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"
 
 /*