aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-19 10:17:15 -0300
committerJohn Rigby <john.rigby@linaro.org>2011-08-15 15:10:45 -0600
commitfab18a7d249e4941b151557311b62b34bc0350f7 (patch)
tree5440a15ff4d81a9d06187c0d36b85510921a8479
parentd6aca7f74802c79f0885696235f461b5fd91299e (diff)
downloadu-boot-linaro-stable-fab18a7d249e4941b151557311b62b34bc0350f7.tar.gz
omap4_panda: adding support for smsc and tftp boot
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
-rw-r--r--include/configs/omap4_panda.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index 814f15c5c..a08a13d24 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -116,6 +116,19 @@
#define CONFIG_USB_DEVICE 1
#define CONFIG_USB_TTY 1
#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
+#define CONFIG_CMD_USB 1
+#define CONFIG_USB_STORAGE 1
+#define CONFIG_USB_HOST_ETHER 1
+#define CONFIG_USB_EHCI 1
+#define CONFIG_USB_EHCI_OMAP4 1
+#define CONFIG_USB_HOST 1
+#define CONFIG_USB_ETHER_SMSC95XX 1
+
+/* Ethernet */
+#define CONFIG_NET_MULTI 1
+#define CONFIG_CMD_PING 1
+#define CONFIG_CMD_DHCP 1
+#define CONFIG_BOOTFILE "uImage"
/* Flash */
#define CONFIG_SYS_NO_FLASH 1
@@ -130,7 +143,6 @@
#define CONFIG_CMD_MMC /* MMC support */
/* Disabled commands */
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMLS /* List all found images */
@@ -148,6 +160,8 @@
"console=ttyS2,115200n8\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
+ "usbethaddr=00:02:03:04:05:06\0" \
+ "hostname=panda\0" \
"mmcdev=0\0" \
"mmcroot=/dev/mmcblk0p2 rw\0" \
"mmcrootfstype=ext3 rootwait\0" \
@@ -172,6 +186,10 @@
"run mmcboot; " \
"fi; " \
"fi; " \
+ "fi; " \
+ "if usb start; then " \
+ "bootp; "\
+ "source ${loadaddr};" \
"fi"
#define CONFIG_AUTO_COMPLETE 1