1 From df3a0091b249ea82198ea019d145d05a7cf49c0d Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Wed, 19 Jul 2023 17:15:47 +0800
4 Subject: [PATCH 02/29] board: mediatek: update config headers
6 Remove unused information from include/configs/mtxxxx.h
8 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
10 include/configs/mt7620.h | 3 +--
11 include/configs/mt7621.h | 6 ++----
12 include/configs/mt7623.h | 8 --------
13 include/configs/mt7628.h | 5 ++---
14 include/configs/mt7629.h | 13 +------------
15 5 files changed, 6 insertions(+), 29 deletions(-)
17 --- a/include/configs/mt7620.h
18 +++ b/include/configs/mt7620.h
21 #define CFG_SYS_SDRAM_BASE 0x80000000
23 -#define CFG_SYS_INIT_SP_OFFSET 0x400000
24 +#define CFG_SYS_INIT_SP_OFFSET 0x400000
28 #define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
31 --- a/include/configs/mt7621.h
32 +++ b/include/configs/mt7621.h
35 #define CFG_MAX_MEM_MAPPED 0x1c000000
37 -#define CFG_SYS_INIT_SP_OFFSET 0x800000
38 +#define CFG_SYS_INIT_SP_OFFSET 0x800000
41 #define MMC_SUPPORTS_TUNING
46 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
47 #define CFG_SYS_NS16550_CLK 50000000
52 -#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
53 +#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
54 230400, 460800, 921600 }
57 --- a/include/configs/mt7623.h
58 +++ b/include/configs/mt7623.h
61 #include <linux/sizes.h>
63 -/* Miscellaneous configurable options */
67 -/* Preloader -> Uboot */
70 #define MMC_SUPPORTS_TUNING
73 "fdt_addr_r=" FDT_HIGH "\0" \
74 "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
78 #ifdef CONFIG_DISTRO_DEFAULTS
80 #define BOOT_TARGET_DEVICES(func) \
81 --- a/include/configs/mt7628.h
82 +++ b/include/configs/mt7628.h
85 #define CFG_SYS_SDRAM_BASE 0x80000000
87 -#define CFG_SYS_INIT_SP_OFFSET 0x80000
88 +#define CFG_SYS_INIT_SP_OFFSET 0x80000
91 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
96 -#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
97 +#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
98 230400, 460800, 921600 }
102 #define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
105 --- a/include/configs/mt7629.h
106 +++ b/include/configs/mt7629.h
111 -#include <linux/sizes.h>
113 -/* Miscellaneous configurable options */
118 #define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO)
122 -/* UBoot -> Kernel */
125 #define CFG_SYS_SDRAM_BASE 0x40000000