arm: trats2: Set mmcdev directly
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:15 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 15:31:47 +0000 (10:31 -0500)
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>
include/configs/exynos4-common.h
include/configs/s5p_goni.h
include/configs/trats2.h

index 81f450c..bf965e5 100644 (file)
@@ -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 */
index fdade1e..97f5dd0 100644 (file)
 #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 */
index 0aa331e..4d39b40 100644 (file)
@@ -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" \