diff mbox series

[U-Boot,2/5] ARM: zynq: Enable USB1 as secondary boot device

Message ID f4a8fa6052d854dbc457cd3dab194b1af9b16ccf.1568201315.git.michal.simek@xilinx.com
State Accepted
Commit 559e5a68f40c68988a5fadbd1f930c3230376cf9
Delegated to: Michal Simek
Headers show
Series ARM: zynq: Boot variables cleanup | expand

Commit Message

Michal Simek Sept. 11, 2019, 11:28 a.m. UTC
Xilinx Zynq SoC has two usb controllers and both could be used as secondary
boot method.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/zynq-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 824efa9c004b..de6c06ba3ce7 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -117,7 +117,7 @@ 
 #endif
 
 #ifdef CONFIG_CMD_USB
-#define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
+#define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0) func(USB, usb, 1)
 #else
 #define BOOT_TARGET_DEVICES_USB(func)
 #endif