diff options
author | Heiko Schocher <hs@denx.de> | 2023-01-24 20:06:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-06 21:04:53 +0300 |
commit | 2e9eea4ebdbdcca123f658ac5d9d659040b3f15f (patch) | |
tree | 0acc786810c5f6410cdc8a03cd30a99b41e96554 /configs/socrates_defconfig | |
parent | 73038dd6fdaf4c7d11df1b5c163f28ed67b40c28 (diff) | |
download | u-boot-2e9eea4ebdbdcca123f658ac5d9d659040b3f15f.tar.xz |
powerpc/mpc85xx: socrates: add MTD partitioning support
setup MTD partitioning through mtdparts variable
and set it to:
mtdparts=fe0000000.nor:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot)
and pass this to linux per kernel commandline.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'configs/socrates_defconfig')
-rw-r--r-- | configs/socrates_defconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index 03e84c3e7e..17c12aed7d 100644 --- a/configs/socrates_defconfig +++ b/configs/socrates_defconfig @@ -53,6 +53,9 @@ CONFIG_CMD_PING=y CONFIG_CMD_SNTP=y # CONFIG_CMD_HASH is not set CONFIG_CMD_EXT2=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nor0=fe000000.nor_flash,nand0=socrates_nand" +CONFIG_MTDPARTS_DEFAULT="mtdparts=fe000000.nor_flash:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot);socrates_nand:256M(ubi-data1),-(ubi-data2)" # CONFIG_CMD_IRQ is not set CONFIG_OF_CONTROL=y CONFIG_ENV_IS_IN_FLASH=y @@ -78,9 +81,11 @@ CONFIG_DM_I2C=y CONFIG_SYS_I2C_FSL=y # CONFIG_MMC is not set CONFIG_MTD=y +CONFIG_DM_MTD=y CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y CONFIG_FLASH_SHOW_PROGRESS=0 +CONFIG_FLASH_CFI_MTD=y CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_FLASH_QUIET_TEST=y CONFIG_SYS_MAX_FLASH_SECT=256 |