2
0

100-01-board-mediatek-add-more-network-configurations.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. From 97df847f8f895cc2692bb0e4e933269c275da378 Mon Sep 17 00:00:00 2001
  2. From: Weijie Gao <[email protected]>
  3. Date: Tue, 2 Mar 2021 15:47:45 +0800
  4. Subject: [PATCH 35/71] board: mediatek: add more network configurations
  5. Make the network configurations uniform for mediatek boards
  6. Signed-off-by: Weijie Gao <[email protected]>
  7. ---
  8. include/configs/mt7622.h | 3 ++-
  9. include/configs/mt7623.h | 1 +
  10. include/configs/mt7629.h | 1 +
  11. include/configs/mt7981.h | 5 +++++
  12. include/configs/mt7986.h | 5 +++++
  13. 5 files changed, 14 insertions(+), 1 deletion(-)
  14. --- a/include/configs/mt7622.h
  15. +++ b/include/configs/mt7622.h
  16. @@ -19,6 +19,7 @@
  17. /* Ethernet */
  18. #define CONFIG_IPADDR 192.168.1.1
  19. -#define CONFIG_SERVERIP 192.168.1.3
  20. +#define CONFIG_SERVERIP 192.168.1.2
  21. +#define CONFIG_NETMASK 255.255.255.0
  22. #endif
  23. --- a/include/configs/mt7623.h
  24. +++ b/include/configs/mt7623.h
  25. @@ -35,6 +35,7 @@
  26. /* Ethernet */
  27. #define CONFIG_IPADDR 192.168.1.1
  28. #define CONFIG_SERVERIP 192.168.1.2
  29. +#define CONFIG_NETMASK 255.255.255.0
  30. #ifdef CONFIG_DISTRO_DEFAULTS
  31. --- a/include/configs/mt7629.h
  32. +++ b/include/configs/mt7629.h
  33. @@ -30,5 +30,6 @@
  34. /* Ethernet */
  35. #define CONFIG_IPADDR 192.168.1.1
  36. #define CONFIG_SERVERIP 192.168.1.2
  37. +#define CONFIG_NETMASK 255.255.255.0
  38. #endif
  39. --- a/include/configs/mt7981.h
  40. +++ b/include/configs/mt7981.h
  41. @@ -18,4 +18,9 @@
  42. /* DRAM */
  43. #define CONFIG_SYS_SDRAM_BASE 0x40000000
  44. +/* Ethernet */
  45. +#define CONFIG_IPADDR 192.168.1.1
  46. +#define CONFIG_SERVERIP 192.168.1.2
  47. +#define CONFIG_NETMASK 255.255.255.0
  48. +
  49. #endif
  50. --- a/include/configs/mt7986.h
  51. +++ b/include/configs/mt7986.h
  52. @@ -18,4 +18,9 @@
  53. /* DRAM */
  54. #define CONFIG_SYS_SDRAM_BASE 0x40000000
  55. +/* Ethernet */
  56. +#define CONFIG_IPADDR 192.168.1.1
  57. +#define CONFIG_SERVERIP 192.168.1.2
  58. +#define CONFIG_NETMASK 255.255.255.0
  59. +
  60. #endif