diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2018-12-20 16:12:56 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-14 17:43:18 -0500 |
commit | 8505cdde8eb3afa8254e864f48574bc1d52c01f2 (patch) | |
tree | ebfbf1cc9c3b7a1a20eaad14a0d4d87ac205959a /include | |
parent | 9d42b613a8f45fb8fc91c43a40b6e4723b56eb63 (diff) |
arm: MediaTek: add ethernet support for MT7623 boards
Enable ethernet related configs to mt7623n_bpir2_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')
-rw-r--r-- | include/configs/mt7623.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mt7623.h b/include/configs/mt7623.h index ba763501cf..5129c83da8 100644 --- a/include/configs/mt7623.h +++ b/include/configs/mt7623.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 @@ -53,4 +54,8 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ FDT_HIGH +/* Ethernet */ +#define CONFIG_IPADDR 192.168.1.1 +#define CONFIG_SERVERIP 192.168.1.2 + #endif |