board: mediatek: update config headers
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 19 Jul 2023 09:15:47 +0000 (17:15 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:49 +0000 (09:40 -0400)
Remove unused information from include/configs/mtxxxx.h

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/ram/mediatek/ddr3-mt7629.c
include/configs/mt7620.h
include/configs/mt7621.h
include/configs/mt7623.h
include/configs/mt7628.h
include/configs/mt7629.h

index 1737fda..f65fcf1 100644 (file)
@@ -14,6 +14,7 @@
 #include <asm/io.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
+#include <linux/sizes.h>
 
 /* EMI */
 #define EMI_CONA                       0x000
index d5bd492..d69d35f 100644 (file)
 
 #define CFG_SYS_SDRAM_BASE             0x80000000
 
-#define CFG_SYS_INIT_SP_OFFSET 0x400000
+#define CFG_SYS_INIT_SP_OFFSET         0x400000
 
 /* SPL */
-
 #define CFG_SYS_UBOOT_START            CONFIG_TEXT_BASE
 
 /* Dummy value */
index a957494..bf2bc2d 100644 (file)
 
 #define CFG_MAX_MEM_MAPPED             0x1c000000
 
-#define CFG_SYS_INIT_SP_OFFSET 0x800000
+#define CFG_SYS_INIT_SP_OFFSET         0x800000
 
 /* MMC */
 #define MMC_SUPPORTS_TUNING
 
-/* NAND */
-
 /* Serial SPL */
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
 #define CFG_SYS_NS16550_CLK            50000000
@@ -26,7 +24,7 @@
 #endif
 
 /* Serial common */
-#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
+#define CFG_SYS_BAUDRATE_TABLE         { 9600, 19200, 38400, 57600, 115200, \
                                          230400, 460800, 921600 }
 
 /* Dummy value */
index db12377..fca234a 100644 (file)
 
 #include <linux/sizes.h>
 
-/* Miscellaneous configurable options */
-
-/* Environment */
-
-/* Preloader -> Uboot */
-
 /* MMC */
 #define MMC_SUPPORTS_TUNING
 
@@ -32,8 +26,6 @@
        "fdt_addr_r=" FDT_HIGH "\0"                     \
        "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
 
-/* Ethernet */
-
 #ifdef CONFIG_DISTRO_DEFAULTS
 
 #define BOOT_TARGET_DEVICES(func)      \
index 9df2715..0ac376d 100644 (file)
@@ -10,7 +10,7 @@
 
 #define CFG_SYS_SDRAM_BASE             0x80000000
 
-#define CFG_SYS_INIT_SP_OFFSET 0x80000
+#define CFG_SYS_INIT_SP_OFFSET         0x80000
 
 /* Serial SPL */
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
 #endif
 
 /* Serial common */
-#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
+#define CFG_SYS_BAUDRATE_TABLE         { 9600, 19200, 38400, 57600, 115200, \
                                          230400, 460800, 921600 }
 
 /* SPL */
-
 #define CFG_SYS_UBOOT_START            CONFIG_TEXT_BASE
 
 /* Dummy value */
index f6ab486..59cdd22 100644 (file)
@@ -9,21 +9,10 @@
 #ifndef __MT7629_H
 #define __MT7629_H
 
-#include <linux/sizes.h>
-
-/* Miscellaneous configurable options */
-
-/* Environment */
-
+/* SPL */
 #define CFG_SYS_UBOOT_BASE             (0x30000000 + CONFIG_SPL_PAD_TO)
 
-/* SPL -> Uboot */
-
-/* UBoot -> Kernel */
-
 /* DRAM */
 #define CFG_SYS_SDRAM_BASE             0x40000000
 
-/* Ethernet */
-
 #endif