Message ID | 20221207092619.1.Ic1687807c70d49f6a2345db4e3da49341142584c@changeid |
---|---|
State | Accepted |
Commit | 828d7e6022f2ae827aa278fc6bc15efee0d0a6b6 |
Delegated to: | Tom Rini |
Headers | show |
Series | Complete the migration of MTDPARTS_DEFAULT / MTDIDS_DEFAULT | expand |
On Wed, Dec 07, 2022 at 09:26:40AM +0100, Patrick Delaunay wrote: > Replace MTDIDS_DEFAULT in config include file by CONFIG_MTDIDS_DEFAULT > in defonfig to complete the Kconfig migration > > Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> For the series, applied to u-boot/next, thanks!
diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index fef4fd155100..0feac53c3509 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -64,6 +64,7 @@ CONFIG_SYS_DISABLE_AUTOLOAD=y CONFIG_CMD_BMP=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nand0=nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:256k(SPL),256k(SPL.backup1),256k(SPL.backup2),256k(SPL.backup3),1m(u-boot),1m(u-boot.backup1),1m(u-boot-2),1m(u-boot-2.backup1),256k(u-boot-env),256k(u-boot-env.backup1),256k(splash-screen),-(UBI)" CONFIG_CMD_UBI=y # CONFIG_SPL_DOS_PARTITION is not set diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 7c5e7ce475ef..a5b83b0c25dd 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -115,7 +115,6 @@ } #define CFG_SYS_NAND_ECCSIZE 512 #define CFG_SYS_NAND_ECCBYTES 26 -#define MTDIDS_DEFAULT "nand0=nand.0" #endif /* CONFIG_MTD_RAW_NAND */
Replace MTDIDS_DEFAULT in config include file by CONFIG_MTDIDS_DEFAULT in defonfig to complete the Kconfig migration Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> --- configs/am335x_guardian_defconfig | 1 + include/configs/am335x_guardian.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)