diff options
author | Ye Li <ye.li@nxp.com> | 2017-03-02 11:35:49 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-03-02 17:07:11 +0800 |
commit | 95fa940015031aa12d339fa86a115a3b4e423416 (patch) | |
tree | 059d4438451de2706f2e44c6c19809651cb34edf /arch/arm/mach-tegra/emc.c | |
parent | 49cb68f5c17e42f9290336e1252ace6ac7d0b5ce (diff) | |
download | u-boot-imx-95fa940015031aa12d339fa86a115a3b4e423416.zip u-boot-imx-95fa940015031aa12d339fa86a115a3b4e423416.tar.gz u-boot-imx-95fa940015031aa12d339fa86a115a3b4e423416.tar.bz2 |
MLK-14312 mx7ulp: Fix incorrect DTB modification after using USB
u-boot has feature that when booting for mfgtool, the u-boot will modify the DTB
to disable SD 1.8v switch. But the judgement for mfgtool boot has a problem, it
only checks whether the USB PHY power status is enabled. When a USB device
(for example a USB ethernet) is used in u-boot, the power status is also enabled.
So the u-boot incorrectly disable the SD 1.8v switch.
The patch changes the get_boot_device to use the boot SW info provided by ROM. Only if
it is a USB boot, we will start the DTB modification for SD.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 1fb61cd80af59c39d1ca01d833f566628ba48f32)
Diffstat (limited to 'arch/arm/mach-tegra/emc.c')
0 files changed, 0 insertions, 0 deletions