summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-11-06 15:42:24 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-10 09:44:43 +0900
commitf0261243102fbc020a01178a46a52e00fc55e3d2 (patch)
tree36261debe80058d2d2d9709abe243f5245712338 /include/configs
parent6a994e5bb6ba0193d655e2cd67ff8d93bfe66d82 (diff)
downloadu-boot-imx-f0261243102fbc020a01178a46a52e00fc55e3d2.zip
u-boot-imx-f0261243102fbc020a01178a46a52e00fc55e3d2.tar.gz
u-boot-imx-f0261243102fbc020a01178a46a52e00fc55e3d2.tar.bz2
arm: rmobile: gose: Add Ethernet support
Gose board has one ether port, this works using sh-ether driver. This adds GPIO settings and driver settings in order to use the sh-ether. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/gose.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/gose.h b/include/configs/gose.h
index 57da28b..21e1d93 100644
--- a/include/configs/gose.h
+++ b/include/configs/gose.h
@@ -27,6 +27,11 @@
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
#define CONFIG_CMD_I2C
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_NFS
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_MII
#if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_TEXT_BASE 0x70000000
@@ -123,6 +128,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_CACHE_WRITEBACK
+#define CONFIG_SH_ETHER_CACHE_INVALIDATE
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MICREL
+#define CONFIG_BITBANGMII
+#define CONFIG_BITBANGMII_MULTI
+#define CONFIG_SH_ETHER_ALIGNE_SIZE 64
+
/* Board Clock */
#define RMOBILE_XTAL_CLK 20000000u
#define CONFIG_SYS_CLK_FREQ RMOBILE_XTAL_CLK