* [U-Boot] ARM: am437x: Adapt to common CONFIG_BOOTCMD
@ 2013-11-22 14:44 Dan Murphy
2013-12-18 20:07 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Dan Murphy @ 2013-11-22 14:44 UTC (permalink / raw)
To: u-boot
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 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] ARM: am437x: Adapt to common CONFIG_BOOTCMD
2013-11-22 14:44 [U-Boot] ARM: am437x: Adapt to common CONFIG_BOOTCMD Dan Murphy
@ 2013-12-18 20:07 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2013-12-18 20:07 UTC (permalink / raw)
To: u-boot
On Fri, Nov 22, 2013 at 08:44:33AM -0600, Dan Murphy wrote:
> 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>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131218/fbec7b35/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-18 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 14:44 [U-Boot] ARM: am437x: Adapt to common CONFIG_BOOTCMD Dan Murphy
2013-12-18 20:07 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox