Message ID | 20221207092619.3.I18679d6b943d4f01727b3eccbdc853a210c90077@changeid |
---|---|
State | Accepted |
Commit | 91b9551fb3c877f5c35324f31736787b4c7228cd |
Delegated to: | Tom Rini |
Headers | show |
Series | Complete the migration of MTDPARTS_DEFAULT / MTDIDS_DEFAULT | expand |
diff --git a/configs/SBx81LIFXCAT_defconfig b/configs/SBx81LIFXCAT_defconfig index 125871301e34..80dbbb11c9ba 100644 --- a/configs/SBx81LIFXCAT_defconfig +++ b/configs/SBx81LIFXCAT_defconfig @@ -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 diff --git a/include/configs/SBx81LIFXCAT.h b/include/configs/SBx81LIFXCAT.h index 9a9663b34ba8..23d37394e076 100644 --- a/include/configs/SBx81LIFXCAT.h +++ b/include/configs/SBx81LIFXCAT.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" /*
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 | 1 + include/configs/SBx81LIFXCAT.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)