summaryrefslogtreecommitdiff
path: root/include/configs/mt7629.h
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2018-12-20 11:12:57 +0300
committerTom Rini <trini@konsulko.com>2019-01-15 01:43:18 +0300
commitd7fe0ad2850a1bdba6d5582d8a6b871cd4ace8de (patch)
treec7f193bea4bd004ddcd7ad9b4d9d0ab592ddd36a /include/configs/mt7629.h
parent8505cdde8eb3afa8254e864f48574bc1d52c01f2 (diff)
downloadu-boot-d7fe0ad2850a1bdba6d5582d8a6b871cd4ace8de.tar.xz
arm: MediaTek: add ethernet support for MT7629 boards
Enable ethernet related configs to mt7629_rfb_defconfig. Add default IP addresses. Enable noncached memory region required by ethernet driver. Signed-off-by: Mark Lee <Mark-MC.Lee@mediatek.com>
Diffstat (limited to 'include/configs/mt7629.h')
-rw-r--r--include/configs/mt7629.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mt7629.h b/include/configs/mt7629.h
index a665a5eb7f..9910d8c89a 100644
--- a/include/configs/mt7629.h
+++ b/include/configs/mt7629.h
@@ -24,6 +24,7 @@
/* Size of malloc() pool */
#define CONFIG_SYS_MALLOC_LEN SZ_4M
+#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
/* Environment */
#define CONFIG_ENV_SIZE SZ_4K
@@ -54,4 +55,8 @@
/* DRAM */
#define CONFIG_SYS_SDRAM_BASE 0x40000000
+/* Ethernet */
+#define CONFIG_IPADDR 192.168.1.1
+#define CONFIG_SERVERIP 192.168.1.2
+
#endif