From f4910a176275c6fc9b919540f8077fcd9706d960 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Thu, 19 May 2011 10:17:15 -0300 Subject: omap4_panda: adding support for smsc and tftp boot Signed-off-by: Ricardo Salveti de Araujo --- include/configs/omap4_common.h | 4 ++++ include/configs/omap4_panda.h | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index a989721af..755ef26be 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -177,6 +177,10 @@ "run mmcboot; " \ "fi; " \ "fi; " \ + "fi; " \ + "if usb start; then " \ + "bootp; "\ + "source ${loadaddr};" \ "fi" #define CONFIG_AUTO_COMPLETE 1 diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index e9ef2a378..4a1146f69 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -33,7 +33,22 @@ */ #define CONFIG_PANDA 1 /* working with Panda */ +/* USB Host networking options */ +#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 + #include +#define CONFIG_CMD_NET /* GPIO */ #define CONFIG_CMD_GPIO -- cgit v1.2.3