uboot-mediatek: update to 2021.04-rc3 with MediaTek's patches
[openwrt/staging/rmilecki.git] / package / boot / uboot-mediatek / patches / 000-mtk-09-board-mediatek-add-more-network-configurations.patch
1 From f3f320af7078a8c5647d870a31c1d3695dacd7cf Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Tue, 2 Mar 2021 15:47:45 +0800
4 Subject: [PATCH 09/21] board: mediatek: add more network configurations
5
6 Make the network configurations uniform for mediatek boards
7
8 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
9 ---
10 include/configs/mt7622.h | 3 ++-
11 include/configs/mt7623.h | 1 +
12 include/configs/mt7629.h | 1 +
13 3 files changed, 4 insertions(+), 1 deletion(-)
14
15 --- a/include/configs/mt7622.h
16 +++ b/include/configs/mt7622.h
17 @@ -36,6 +36,7 @@
18
19 /* Ethernet */
20 #define CONFIG_IPADDR 192.168.1.1
21 -#define CONFIG_SERVERIP 192.168.1.3
22 +#define CONFIG_SERVERIP 192.168.1.2
23 +#define CONFIG_NETMASK 255.255.255.0
24
25 #endif
26 --- a/include/configs/mt7623.h
27 +++ b/include/configs/mt7623.h
28 @@ -54,6 +54,7 @@
29 /* Ethernet */
30 #define CONFIG_IPADDR 192.168.1.1
31 #define CONFIG_SERVERIP 192.168.1.2
32 +#define CONFIG_NETMASK 255.255.255.0
33
34 #ifdef CONFIG_DISTRO_DEFAULTS
35
36 --- a/include/configs/mt7629.h
37 +++ b/include/configs/mt7629.h
38 @@ -52,5 +52,6 @@
39 /* Ethernet */
40 #define CONFIG_IPADDR 192.168.1.1
41 #define CONFIG_SERVERIP 192.168.1.2
42 +#define CONFIG_NETMASK 255.255.255.0
43
44 #endif