diff options
author | Ye Li <ye.li@nxp.com> | 2017-03-02 11:35:49 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 17:24:35 +0800 |
commit | 001798e98623b131898b0d9edad59d2b0fb3082d (patch) | |
tree | 085d18b49a3937113f47f72d5980ff3886f27112 /scripts | |
parent | 63c2e1de37e1e24f35279f50efa5a330e2cb3d07 (diff) | |
download | u-boot-imx-001798e98623b131898b0d9edad59d2b0fb3082d.zip u-boot-imx-001798e98623b131898b0d9edad59d2b0fb3082d.tar.gz u-boot-imx-001798e98623b131898b0d9edad59d2b0fb3082d.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 'scripts')
0 files changed, 0 insertions, 0 deletions