summaryrefslogtreecommitdiff
path: root/include/configs/smdkc100.h
diff options
context:
space:
mode:
authorNaveen Krishna CH <ch.naveen@samsung.com>2010-03-05 17:16:05 +0900
committertrix <trix@windriver.com>2010-04-03 15:24:26 -0500
commit2528dc52361bea49e6bd4a95ce2374d0004ca56f (patch)
tree5ab4c3b5acfa177d3821d9bc9a04d925bdcd9e62 /include/configs/smdkc100.h
parent01802e0d22a4bb3903b342ff2357ea3bbcccd289 (diff)
SAMSUNG: SMDKC100: Adds ethernet support.
Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be loaded over tftp. The preinit function will configure GPIO (GPK0CON) & SROMC to look for environment in SROM Bank 3. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/smdkc100.h')
-rw-r--r--include/configs/smdkc100.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index a8ba0528b64..09bce6d0fa6 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -83,7 +83,6 @@
#undef CONFIG_CMD_FLASH
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_NAND
-#undef CONFIG_CMD_NET
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_REGINFO
@@ -235,4 +234,15 @@
#define CONFIG_DOS_PARTITION 1
+/*
+ * Ethernet Contoller driver
+ */
+#ifdef CONFIG_CMD_NET
+#define CONFIG_NET_MULTI
+#define CONFIG_SMC911X 1 /* we have a SMC9115 on-board */
+#define CONFIG_SMC911X_16_BIT 1 /* SMC911X_16_BIT Mode */
+#define CONFIG_SMC911X_BASE 0x98800300 /* SMC911X Drive Base */
+#define CONFIG_ENV_SROM_BANK 3 /* Select SROM Bank-3 for Ethernet*/
+#endif /* CONFIG_CMD_NET */
+
#endif /* __CONFIG_H */