u-boot/arch
Ye Li 0efb6ecdb9 MLK-19869-1 imx6: improve the is_boot_from_usb implementation
Currently the is_boot_from_usb is checking the USB PHY Powerdown bit. This
way has a defect that if we run any usb function in u-boot the checking will
always return true.

This patch improves the way to avoid such problem above. A new arch-specific flag is
added to indicate if it is USB boot. We check the USB PHY PWD bit at early of boot
stage then set that flag. So any following calling of is_boot_from_usb will return
correct value.

Signed-off-by: Ye Li <ye.li@nxp.com>
2018-10-10 01:52:41 -07:00
..
arc fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
arm MLK-19869-1 imx6: improve the is_boot_from_usb implementation 2018-10-10 01:52:41 -07:00
m68k Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to Kconfig 2018-01-30 12:52:57 -05:00
microblaze fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
mips fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
nds32 fdt: Implement weak arch_fixup_fdt() 2018-02-18 12:53:38 -07:00
nios2
powerpc libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
riscv
sandbox core: ofnode: Fix translation for #size-cells == 0 2018-04-26 02:26:13 -07:00
sh sh: Do not provide strncmp 2018-02-23 00:06:05 +01:00
x86 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
xtensa xtensa: clean up CONFIG_SYS_TEXT_ADDR 2018-02-23 10:21:41 -05:00
.gitignore
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00