commit | 14d319b1856b86e593e01abd0a1e3c2d63b52a8a | [log] [tgz] |
---|---|---|
author | Adam Ford <aford173@gmail.com> | Thu May 23 14:11:30 2019 -0500 |
committer | Stefano Babic <sbabic@denx.de> | Fri Jul 19 14:53:50 2019 +0200 |
tree | 645821df01cae16458e9b1441ca718ddb57a9c68 | |
parent | c548451fd97b7c30f746cc02157ed46f34d6f740 [diff] |
spl: imx6: Let spl_boot_device return USDHC1 or USDHC2 Currently, when the spl_boot_device checks the boot device, it will only return MMC1 when it's either sd or eMMC regardless of whether or not it's MMC1 or MMC2. This is a problem when booting from MMC2 if MMC isn't being manually configured like in the DM_SPL case with SPL_OF_CONTROL. This patch will check the register and return either MMC1 or MMC2. Signed-off-by: Adam Ford <aford173@gmail.com>