summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2012-02-09 01:26:19 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:30 +0100
commitbf936210dacaaf5d712178122b31c5f1ae46b42f (patch)
treed8db007e3186f4605bfbf397403bbd134e15cad5 /include
parent81e352032ccbf00e756083adc70d418a6ea80b14 (diff)
downloadu-boot-imx-bf936210dacaaf5d712178122b31c5f1ae46b42f.zip
u-boot-imx-bf936210dacaaf5d712178122b31c5f1ae46b42f.tar.gz
u-boot-imx-bf936210dacaaf5d712178122b31c5f1ae46b42f.tar.bz2
SMDK5250: Add ethernet support
This patch enable support for SMC911X based ethernet device. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Acked-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/smdk5250.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index f54d7ac..9659f9e 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -96,8 +96,7 @@
#define CONFIG_CMD_MMC
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FAT
-#undef CONFIG_CMD_NET
-#undef CONFIG_CMD_NFS
+#define CONFIG_CMD_NET
#define CONFIG_BOOTDELAY 3
#define CONFIG_ZERO_BOOTDELAY_CHECK
@@ -191,6 +190,14 @@
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)
+/* Ethernet Controllor Driver */
+#ifdef CONFIG_CMD_NET
+#define CONFIG_SMC911X
+#define CONFIG_SMC911X_BASE 0x5000000
+#define CONFIG_SMC911X_16_BIT
+#define CONFIG_ENV_SROM_BANK 1
+#endif /*CONFIG_CMD_NET*/
+
/* Enable devicetree support */
#define CONFIG_OF_LIBFDT