summaryrefslogtreecommitdiff
path: root/include/configs/cm_t335.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-23 00:55:07 +0300
committerTom Rini <trini@konsulko.com>2017-11-05 19:21:35 +0300
commit43ede0bca7fc1590b623832b743213b818257a27 (patch)
treec7612aadc5ff9c2768b26d383858d83b7339b13b /include/configs/cm_t335.h
parent804dcf771aacc75f595d3656be0ca6a7887b6672 (diff)
downloadu-boot-43ede0bca7fc1590b623832b743213b818257a27.tar.xz
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/cm_t335.h')
-rw-r--r--include/configs/cm_t335.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index 2287d5b6e4..d6ebdcd600 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -43,8 +43,8 @@
"bootm ${loadaddr}\0"
#define NANDARGS \
- "mtdids=" MTDIDS_DEFAULT "\0" \
- "mtdparts=" MTDPARTS_DEFAULT "\0" \
+ "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
+ "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
"nandroot=ubi0:rootfs rw\0" \
"nandrootfstype=ubifs\0" \
"nandargs=setenv bootargs console=${console} " \
@@ -125,11 +125,6 @@
#undef CONFIG_SYS_NAND_U_BOOT_OFFS
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000
-#define MTDIDS_DEFAULT "nand0=nand"
-#define MTDPARTS_DEFAULT "mtdparts=nand:2m(spl)," \
- "1m(u-boot),1m(u-boot-env)," \
- "1m(dtb),4m(splash)," \
- "6m(kernel),-(rootfs)"
#define CONFIG_ENV_OFFSET 0x300000 /* environment starts here */
#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
#define CONFIG_SYS_NAND_ONFI_DETECTION