
Update the CONFIG_BOOTCMD to adopt the common boot command which parses through USB, MMC and NAND.
This patch is dependent on the series starting with http://patchwork.ozlabs.org/patch/292986/
Signed-off-by: Dan Murphy dmurphy@ti.com --- include/configs/am43xx_evm.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 7810c59..7a27131 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -137,9 +137,23 @@ "if test $fdtfile = undefined; then " \ "echo WARNING: Could not determine device tree; fi; \0"
-#define CONFIG_BOOTCOMMAND \ - "run findfdt; " \ - "run mmcboot;" +#ifdef CONFIG_MMC +#define BOOT_TARGETS_MMC "mmc0" +#else +#define BOOT_TARGETS_MMC "" +#endif + +#ifdef CONFIG_USB_HOST +#define BOOT_TARGETS_USB "usb" +#else +#define BOOT_TARGETS_USB "" +#endif + +#ifdef CONFIG_NAND +#define BOOT_TARGETS_NAND "nand" +#else +#define BOOT_TARGETS_NAND "" +#endif
#endif #endif /* __CONFIG_AM43XX_EVM_H */