summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwagath Gadde <swagath.gadde@xilinx.com>2022-02-03 00:06:54 +0530
committerMark Hatle <mark.hatle@xilinx.com>2022-02-02 11:29:51 -0800
commitdff4381a8a1e57e69e99a0084b3581a116fe7e2d (patch)
treed03e8f1d511e88a491240ba78b47c69daf2b3ce1
parent6754c5dfde8cb1d832e2561565e4023f1ad92038 (diff)
downloadmeta-xilinx-dff4381a8a1e57e69e99a0084b3581a116fe7e2d.tar.gz
boot.cmd.generic:add support for usb boot
This patch will add support for usb devices which is needed when it is in boot_targets. Signed-off-by: Swagath Gadde <swagath.gadde@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic
index 0249a8a0..2e2bf205 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.generic
@@ -15,7 +15,7 @@ do
15 if test "${boot_target}" = "jtag" ; then 15 if test "${boot_target}" = "jtag" ; then
16 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@ 16 @@KERNEL_BOOTCMD@@ @@KERNEL_LOAD_ADDRESS@@ @@RAMDISK_IMAGE_ADDRESS@@ @@DEVICETREE_ADDRESS@@
17 fi 17 fi
18 if test "${boot_target}" = "mmc0" || test "${boot_target}" = "mmc1" ; then 18 if test "${boot_target}" = "mmc0" || test "${boot_target}" = "mmc1" || test "${boot_target}" = "usb0" || test "${boot_target}" = "usb1"; then
19 if test -e ${devtype} ${devnum}:${distro_bootpart} /@@UENV_TEXTFILE@@; then 19 if test -e ${devtype} ${devnum}:${distro_bootpart} /@@UENV_TEXTFILE@@; then
20 fatload ${devtype} ${devnum}:${distro_bootpart} @@UENV_MMC_LOAD_ADDRESS@@ @@UENV_TEXTFILE@@; 20 fatload ${devtype} ${devnum}:${distro_bootpart} @@UENV_MMC_LOAD_ADDRESS@@ @@UENV_TEXTFILE@@;
21 echo "Importing environment(@@UENV_TEXTFILE@@) from ${boot_target}..." 21 echo "Importing environment(@@UENV_TEXTFILE@@) from ${boot_target}..."