diff options
author | Robie Basak <robie.basak@ubuntu.com> | 2012-02-16 09:02:17 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-08-16 10:06:35 -0600 |
commit | 8b622af16b87d5a7cd796b9949e840474da6744e (patch) | |
tree | 1807be2888f5016da139396c033cf7bce03502a1 | |
parent | 96374154a2ed4401c085a100832f09a17704d605 (diff) |
OMAP4: Force PXE booting when booting via spl-usb
So we don't use boot script on MMC/SD card.
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r-- | include/configs/omap4_common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 773176540..74d62f1af 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -169,6 +169,15 @@ "ramdisk_addr_r=0x81600000\0" \ "pxefile_addr_r=0x86000000\0" +#ifdef CONFIG_SPL_USB +#define CONFIG_BOOTCOMMAND \ + "if usb start; then " \ + "set autoload no; "\ + "bootp; "\ + "pxe get;" \ + "pxe boot;" \ + "fi" +#else #define CONFIG_BOOTCOMMAND \ "if mmc rescan ${mmcdev}; then " \ "if run loadbootscript; then " \ @@ -185,6 +194,7 @@ "pxe get;" \ "pxe boot;" \ "fi" +#endif #define CONFIG_AUTO_COMPLETE 1 |