[PATCH 5/5] arm: exynos: Read default MMC device from XOM[7:5] pins
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 17 Jan 2020 13:02:44 +0000 (14:02 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 13 Feb 2020 06:29:38 +0000 (06:29 +0000)
commit99addd250260f87892ca525d37f2f04e61340e13
tree6e878f125ce31999371c0b0ba41f73a90692c72e
parent012adae67c2befa902a0445c44a6b4dde4918a48
[PATCH 5/5] 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>
Gbp-Pq: Topic exynos
Gbp-Pq: Name 0007-arm-exynos-Read-default-MMC-device-from-XOM-7-5-pins.patch
arch/arm/mach-exynos/include/mach/cpu.h
board/samsung/common/board.c
configs/odroid-xu3_defconfig
configs/odroid_defconfig