summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-05-21 10:04:27 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:19 +0200
commitf3d93309c1ab0fe22e3229f99dbcfa7c857eb067 (patch)
tree0d0c8cf18449f5131c9c21f7ec636c87f3adbc80 /include
parent39e37118398158d98f0e9b926d69af289ae7e7b8 (diff)
downloadu-boot-imx-f3d93309c1ab0fe22e3229f99dbcfa7c857eb067.zip
u-boot-imx-f3d93309c1ab0fe22e3229f99dbcfa7c857eb067.tar.gz
u-boot-imx-f3d93309c1ab0fe22e3229f99dbcfa7c857eb067.tar.bz2
tegra: harmony: add device tree support
... to enable USB host support, which enables Ethernet support. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/harmony.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/configs/harmony.h b/include/configs/harmony.h
index 25d6ec7..88189be 100644
--- a/include/configs/harmony.h
+++ b/include/configs/harmony.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2010,2011
+ * (C) Copyright 2010-2012
* NVIDIA Corporation <www.nvidia.com>
*
* See file CREDITS for list of people who contributed to this
@@ -27,6 +27,11 @@
#include <asm/sizes.h>
#include "tegra2-common.h"
+/* Enable fdt support for Harmony. Flash the image in u-boot-dtb.bin */
+#define CONFIG_DEFAULT_DEVICE_TREE tegra2-harmony
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_SEPARATE
+
/* High-level configuration options */
#define V_PROMPT "Tegra2 (Harmony) # "
#define CONFIG_TEGRA2_BOARD_STRING "NVIDIA Harmony"
@@ -61,6 +66,21 @@
/* Environment not stored */
#define CONFIG_ENV_IS_NOWHERE
+/* USB Host support */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_TEGRA
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
+/* USB networking support */
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_SMSC95XX
+#define CONFIG_USB_ETHER_ASIX
+
+/* General networking support */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+
#include "tegra2-common-post.h"
#endif /* __CONFIG_H */