summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2013-10-20 20:28:24 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2013-12-18 16:35:45 +0900
commit23565c6bccf098418a03405bedda6f7d3e68da36 (patch)
treed5b8f65d2b6979a6e3cdc17b6ba7f348d4460e65 /include/configs
parent36da5f84a90df444bbac0c3197d4945383075b76 (diff)
downloadu-boot-imx-23565c6bccf098418a03405bedda6f7d3e68da36.zip
u-boot-imx-23565c6bccf098418a03405bedda6f7d3e68da36.tar.gz
u-boot-imx-23565c6bccf098418a03405bedda6f7d3e68da36.tar.bz2
arm: lager: Add support Ethernet
The lager board has one sh-ether device. This supports sh-ether. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/lager.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/lager.h b/include/configs/lager.h
index 7819edd..e4a5cca 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -28,6 +28,11 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_RUN
#define CONFIG_CMD_LOADS
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_MII
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_NFS
#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_FLASH
@@ -127,6 +132,20 @@
#define CONFIG_ENV_SIZE (CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_SIZE_REDUND (CONFIG_SYS_MONITOR_LEN)
+/* SH Ether */
+#define CONFIG_NET_MULTI
+#define CONFIG_SH_ETHER
+#define CONFIG_SH_ETHER_USE_PORT 0
+#define CONFIG_SH_ETHER_PHY_ADDR 0x1
+#define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
+#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
+#define CONFIG_SH_ETHER_CACHE_WRITEBACK
+#define CONFIG_SH_ETHER_CACHE_INVALIDATE
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MICREL
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI
+
/* Board Clock */
#define CONFIG_BASE_CLK_FREQ 20000000u
#define CONFIG_SH_TMU_CLK_FREQ (CONFIG_BASE_CLK_FREQ / 2) /* EXT / 2 */