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>
This commit is contained in:
parent
5732cf24dd
commit
5125e136a9
@ -10,9 +10,6 @@
|
|||||||
|
|
||||||
#include "exynos-common.h"
|
#include "exynos-common.h"
|
||||||
|
|
||||||
/* SD/MMC configuration */
|
|
||||||
#define CONFIG_MMC_DEFAULT_DEV 0
|
|
||||||
|
|
||||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||||
|
|
||||||
/* USB Samsung's IDs */
|
/* USB Samsung's IDs */
|
||||||
|
@ -119,9 +119,6 @@
|
|||||||
#define PHYS_SDRAM_3 0x50000000 /* mDDR DMC2 Bank #2 */
|
#define PHYS_SDRAM_3 0x50000000 /* mDDR DMC2 Bank #2 */
|
||||||
#define PHYS_SDRAM_3_SIZE (128 << 20) /* 128 MB in 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
|
#define CFG_SYS_ONENAND_BASE 0xB0000000
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
"${kernelname}\0" \
|
"${kernelname}\0" \
|
||||||
"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
|
"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
|
||||||
"${fdtfile}\0" \
|
"${fdtfile}\0" \
|
||||||
"mmcdev=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
|
"mmcdev=0\0" \
|
||||||
"mmcbootpart=2\0" \
|
"mmcbootpart=2\0" \
|
||||||
"mmcrootpart=5\0" \
|
"mmcrootpart=5\0" \
|
||||||
"opts=always_resume=1\0" \
|
"opts=always_resume=1\0" \
|
||||||
|
Loading…
Reference in New Issue
Block a user