mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
9dfc2b3ca4
MediaTek published their current U-Boot patchset on github: https://github.com/mtk-openwrt/u-boot/commits/mtksoc Import the platform patches from there (`00-mtk-*.patch`), arrange, them nicely, drop no longer needed local patches and rebase on top of U-Boot 2021.04-rc3. Tested and works well on Linksys E8450 (snand-1ddr) as well as Bananapi BPi-R64 (sdmmc-2ddr, emmc-2ddr). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
45 lines
1.2 KiB
Diff
45 lines
1.2 KiB
Diff
From f3f320af7078a8c5647d870a31c1d3695dacd7cf Mon Sep 17 00:00:00 2001
|
|
From: Weijie Gao <weijie.gao@mediatek.com>
|
|
Date: Tue, 2 Mar 2021 15:47:45 +0800
|
|
Subject: [PATCH 09/21] board: mediatek: add more network configurations
|
|
|
|
Make the network configurations uniform for mediatek boards
|
|
|
|
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
|
|
---
|
|
include/configs/mt7622.h | 3 ++-
|
|
include/configs/mt7623.h | 1 +
|
|
include/configs/mt7629.h | 1 +
|
|
3 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/include/configs/mt7622.h
|
|
+++ b/include/configs/mt7622.h
|
|
@@ -36,6 +36,7 @@
|
|
|
|
/* Ethernet */
|
|
#define CONFIG_IPADDR 192.168.1.1
|
|
-#define CONFIG_SERVERIP 192.168.1.3
|
|
+#define CONFIG_SERVERIP 192.168.1.2
|
|
+#define CONFIG_NETMASK 255.255.255.0
|
|
|
|
#endif
|
|
--- a/include/configs/mt7623.h
|
|
+++ b/include/configs/mt7623.h
|
|
@@ -54,6 +54,7 @@
|
|
/* Ethernet */
|
|
#define CONFIG_IPADDR 192.168.1.1
|
|
#define CONFIG_SERVERIP 192.168.1.2
|
|
+#define CONFIG_NETMASK 255.255.255.0
|
|
|
|
#ifdef CONFIG_DISTRO_DEFAULTS
|
|
|
|
--- a/include/configs/mt7629.h
|
|
+++ b/include/configs/mt7629.h
|
|
@@ -52,5 +52,6 @@
|
|
/* Ethernet */
|
|
#define CONFIG_IPADDR 192.168.1.1
|
|
#define CONFIG_SERVERIP 192.168.1.2
|
|
+#define CONFIG_NETMASK 255.255.255.0
|
|
|
|
#endif
|