summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-06-04 20:02:25 +0000
committerAlbert ARIBAUD (U-Boot) <uboot@lilith.(none)>2012-07-09 22:44:32 +0200
commit1cbdf2d7e1fc40ef0dcacf7ef03bbdc9b0a6382e (patch)
treef1255190ccead4f9de1e52319cae1b1bfd5e6e1a /include
parented900c55c35a653a0d2ce5489cdeea9a4dd18b5b (diff)
downloadu-boot-imx-1cbdf2d7e1fc40ef0dcacf7ef03bbdc9b0a6382e.zip
u-boot-imx-1cbdf2d7e1fc40ef0dcacf7ef03bbdc9b0a6382e.tar.gz
u-boot-imx-1cbdf2d7e1fc40ef0dcacf7ef03bbdc9b0a6382e.tar.bz2
tegra: medcom: Add device tree support
Device tree support is required for working USB host support, which in turn enables ethernet support. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/medcom.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/include/configs/medcom.h b/include/configs/medcom.h
index bdea7c9..c84db03 100644
--- a/include/configs/medcom.h
+++ b/include/configs/medcom.h
@@ -1,7 +1,7 @@
/*
* (C) Copyright 2010,2011
* NVIDIA Corporation <www.nvidia.com>
- * (C) Copyright 2011
+ * (C) Copyright 2011-2012
* Avionic Design GmbH <www.avionic-design.de>
*
* See file CREDITS for list of people who contributed to this
@@ -28,6 +28,11 @@
#include "tegra2-common.h"
+/* Enable fdt support for Medcom. Flash the image in u-boot-dtb.bin */
+#define CONFIG_DEFAULT_DEVICE_TREE tegra2-medcom
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_SEPARATE
+
/* High-level configuration options */
#define V_PROMPT "Tegra2 (Medcom) # "
#define CONFIG_TEGRA2_BOARD_STRING "Avionic Design Medcom"
@@ -47,6 +52,20 @@
#define CONFIG_TEGRA_MMC
#define CONFIG_CMD_MMC
+/* 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
+
+/* General networking support */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
#define CONFIG_CMD_EXT2