commit | bc4a2e3ca0badd9de0af51223589cb1b2689519c | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Fri Jan 17 14:02:44 2020 +0100 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Tue Jan 28 09:54:05 2020 +0900 |
tree | cf75818ec9dc87be33ecb2acaaa11d911ba5523e | |
parent | 8651bfd7e3a4bb6d80b2d0822e0b121499de4271 [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 <m.szyprowski@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>