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-06-28 15:57:52 +0100
commit94f13400c6c93a09b79cd3f38cdea766e8a0c01f (patch)
tree1ae29ccc89328f1c4efb961cdea7d915a3d20593
parent01a1d2ba401e4f7b9be61309db5842290a14a3c4 (diff)
downloadu-boot-linaro-stable-94f13400c6c93a09b79cd3f38cdea766e8a0c01f.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 b4e7f411f..0fcdf4681 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -120,6 +120,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
@@ -134,7 +147,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 */
@@ -152,6 +164,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" \
@@ -176,6 +190,10 @@
"run mmcboot; " \
"fi; " \
"fi; " \
+ "fi; " \
+ "if usb start; then " \
+ "bootp; "\
+ "source ${loadaddr};" \
"fi"
#define CONFIG_AUTO_COMPLETE 1