]> git.baikalelectronics.ru Git - uboot.git/commit
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)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 28 Jan 2020 00:54:05 +0000 (09:54 +0900)
commit93e9b7c31eb311498aba2ace3811ff2278515840
treecf75818ec9dc87be33ecb2acaaa11d911ba5523e
parent9e249fda3f1392af9fedc5ed5b20b13e5af232ae
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>
arch/arm/mach-exynos/include/mach/cpu.h
board/samsung/common/board.c
configs/odroid-xu3_defconfig
configs/odroid_defconfig