summaryrefslogtreecommitdiff
path: root/include/configs/siemens-am33x-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-22 17:55:07 -0400
committerTom Rini <trini@konsulko.com>2017-11-05 11:21:35 -0500
commit43ede0bca7fc1590b623832b743213b818257a27 (patch)
treec7612aadc5ff9c2768b26d383858d83b7339b13b /include/configs/siemens-am33x-common.h
parent804dcf771aacc75f595d3656be0ca6a7887b6672 (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/siemens-am33x-common.h')
-rw-r--r--include/configs/siemens-am33x-common.h25
1 files changed, 7 insertions, 18 deletions
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index 7ef95faca4..78708a23ce 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -305,10 +305,8 @@
*| mtdoops | 8.000 MiB | 0x c80000..0x 147ffff |
*| rootfs | 235.500 MiB | 0x 1480000..0x fffffff |
*-------------------------------------------------------
- */
-#define MTDIDS_NAME_STR "omap2-nand.0"
-#define MTDIDS_DEFAULT "nand0=" MTDIDS_NAME_STR
-#define MTDPARTS_DEFAULT_V1 "mtdparts=" MTDIDS_NAME_STR ":" \
+
+ "mtdparts=omap2-nand.0:" \
"128k(spl)," \
"128k(spl.backup1)," \
"128k(spl.backup2)," \
@@ -319,6 +317,7 @@
"5120k(kernel_b)," \
"8192k(mtdoops)," \
"-(rootfs)"
+ */
#define DFU_ALT_INFO_NAND_V1 \
"spl part 0 1;" \
@@ -381,7 +380,7 @@
"bootm ${kloadaddr}\0"
/*
- * Variant 2 partition layout
+ * Variant 2 partition layout (default)
* chip-size = 256MiB or 512 MiB
*| name | size | address area |
*-------------------------------------------------------
@@ -398,17 +397,6 @@
*-------------------------------------------------------
*/
-#define MTDPARTS_DEFAULT_V2 "mtdparts=" MTDIDS_NAME_STR ":" \
- "128k(spl)," \
- "128k(spl.backup1)," \
- "128k(spl.backup2)," \
- "128k(spl.backup3)," \
- "1920k(u-boot)," \
- "512k(u-boot.env0)," \
- "512k(u-boot.env1)," \
- "512k(mtdoops)," \
- "-(rootfs)"
-
#define DFU_ALT_INFO_NAND_V2 \
"spl part 0 1;" \
"spl.backup1 part 0 2;" \
@@ -486,9 +474,8 @@
*| mtdoops | 512.000 KiB | 0x12f60000..0x12fdffff |
*|configuration | 104.125 MiB | 0x12fe0000..0x1fffffff |
*-------------------------------------------------------
- */
-#define MTDPARTS_DEFAULT_V3 "mtdparts=" MTDIDS_NAME_STR ":" \
+ "mtdparts=omap2-nand.0:" \
"128k(spl)," \
"128k(spl.backup1)," \
"128k(spl.backup2)," \
@@ -500,6 +487,8 @@
"512k(mtdoops)," \
"-(configuration)"
+ */
+
#define CONFIG_SYS_NAND_BASE (0x08000000) /* physical address */
/* to access nand at */
/* CS0 */