diff options
author | Tom Rini <trini@konsulko.com> | 2017-10-22 17:55:07 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-05 11:21:35 -0500 |
commit | 43ede0bca7fc1590b623832b743213b818257a27 (patch) | |
tree | c7612aadc5ff9c2768b26d383858d83b7339b13b /include/configs/dra7xx_evm.h | |
parent | 804dcf771aacc75f595d3656be0ca6a7887b6672 (diff) |
Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
We move all instances of CONFIG_MTDIDS_DEFAULT and
CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files.
There's a few cases here where we need to expand upon what was in the
header file.
Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/dra7xx_evm.h')
-rw-r--r-- | include/configs/dra7xx_evm.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index f8bffe68f2..34a45552bf 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -178,18 +178,6 @@ 50, 51, 52, 53, 54, 55, 56, 57, } #define CONFIG_SYS_NAND_ECCSIZE 512 #define CONFIG_SYS_NAND_ECCBYTES 14 -#define MTDIDS_DEFAULT "nand0=nand.0" -#define MTDPARTS_DEFAULT "mtdparts=nand.0:" \ - "128k(NAND.SPL)," \ - "128k(NAND.SPL.backup1)," \ - "128k(NAND.SPL.backup2)," \ - "128k(NAND.SPL.backup3)," \ - "256k(NAND.u-boot-spl-os)," \ - "1m(NAND.u-boot)," \ - "128k(NAND.u-boot-env)," \ - "128k(NAND.u-boot-env.backup1)," \ - "8m(NAND.kernel)," \ - "-(NAND.file-system)" #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000 /* NAND: SPL related configs */ /* NAND: SPL falcon mode configs */ @@ -216,18 +204,6 @@ /* Reduce SPL size by removing unlikey targets */ #ifdef CONFIG_NOR_BOOT #define CONFIG_ENV_SECT_SIZE (128 * 1024) /* 128 KiB */ -#define MTDIDS_DEFAULT "nor0=physmap-flash.0" -#define MTDPARTS_DEFAULT "mtdparts=physmap-flash.0:" \ - "128k(NOR.SPL)," \ - "128k(NOR.SPL.backup1)," \ - "128k(NOR.SPL.backup2)," \ - "128k(NOR.SPL.backup3)," \ - "256k(NOR.u-boot-spl-os)," \ - "1m(NOR.u-boot)," \ - "128k(NOR.u-boot-env)," \ - "128k(NOR.u-boot-env.backup1)," \ - "8m(NOR.kernel)," \ - "-(NOR.rootfs)" #define CONFIG_ENV_OFFSET 0x001c0000 #define CONFIG_ENV_OFFSET_REDUND 0x001e0000 #endif |