commit | f76a5ac144bbeafb03a135c7211d2bc0f43b2aef | [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 | 382ebea5ad8d69a2164592eeb5847522f26f03cb [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>