summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-02 16:42:15 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:31:47 -0500
commit5125e136a9a667ace526fbb968500ff39011e6b4 (patch)
treea55cbbe02f784c5e89ad1fc6f61fbbfad0eb58c9
parent5732cf24ddfe010cd18de2233b9f175fa11f004f (diff)
arm: trats2: Set mmcdev directly
Only this platform sets mmcdev via CONFIG_MMC_DEFAULT_DEV so we hard-code that default directly. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/exynos4-common.h3
-rw-r--r--include/configs/s5p_goni.h3
-rw-r--r--include/configs/trats2.h2
3 files changed, 1 insertions, 7 deletions
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 81f450cde6c..bf965e5cedb 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -10,9 +10,6 @@
#include "exynos-common.h"
-/* SD/MMC configuration */
-#define CONFIG_MMC_DEFAULT_DEV 0
-
#define DFU_DEFAULT_POLL_TIMEOUT 300
/* USB Samsung's IDs */
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index fdade1ee66f..97f5dd0e473 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -119,9 +119,6 @@
#define PHYS_SDRAM_3 0x50000000 /* mDDR DMC2 Bank #2 */
#define PHYS_SDRAM_3_SIZE (128 << 20) /* 128 MB in Bank #2 */
-/* FLASH and environment organization */
-#define CONFIG_MMC_DEFAULT_DEV 0
-
#define CFG_SYS_ONENAND_BASE 0xB0000000
#endif /* __CONFIG_H */
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 0aa331e3935..4d39b4005bd 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -81,7 +81,7 @@
"${kernelname}\0" \
"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
"${fdtfile}\0" \
- "mmcdev=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
+ "mmcdev=0\0" \
"mmcbootpart=2\0" \
"mmcrootpart=5\0" \
"opts=always_resume=1\0" \