diff options
-rw-r--r-- | include/configs/j721e_evm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index a7210b5cf3..48b1cea6e3 100644 --- a/include/configs/j721e_evm.h +++ b/include/configs/j721e_evm.h @@ -161,7 +161,14 @@ # define BOOT_TARGET_DHCP(func) #endif +#ifdef CONFIG_CMD_USB +# define BOOT_TARGET_USB(func) func(USB, usb, 0) +#else +# define BOOT_TARGET_USB(func) +#endif + #define BOOT_TARGET_DEVICES(func) \ + BOOT_TARGET_USB(func) \ func(MMC, mmc, 1) \ func(MMC, mmc, 0) \ BOOT_TARGET_PXE(func) \ |