diff options
| author | Marek Szyprowski <[email protected]> | 2020-01-17 14:02:44 +0100 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2020-01-28 09:54:05 +0900 |
| commit | 86c88711082b9fb4da5f7eb0b80d5604c283f0c5 (patch) | |
| tree | cf75818ec9dc87be33ecb2acaaa11d911ba5523e /arch | |
| parent | da63b5da61318a2ea8a84a41f2e49eb24f8a3759 (diff) | |
arm: exynos: Read default MMC device from XOM[7:5] pins
XOM pins provide information for iROM bootloader about the boot device.
Those pins are mapped to lower bits of OP_MODE register (0x10000008),
which is common for all Exynos SoC variants. Set the default MMC device id
to reflect the boot device selected by XOM[7:5] pins (2 for the SD or 0 for
the eMMC).
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-exynos/include/mach/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/cpu.h b/arch/arm/mach-exynos/include/mach/cpu.h index 766edeeb298..fb5fdaf3ba8 100644 --- a/arch/arm/mach-exynos/include/mach/cpu.h +++ b/arch/arm/mach-exynos/include/mach/cpu.h @@ -17,6 +17,7 @@ #define EXYNOS4_GPIO_PART3_BASE 0x03860000 #define EXYNOS4_PRO_ID 0x10000000 +#define EXYNOS4_OP_MODE 0x10000008 #define EXYNOS4_SYSREG_BASE 0x10010000 #define EXYNOS4_POWER_BASE 0x10020000 #define EXYNOS4_SWRESET 0x10020400 |
