mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-04 10:43:35 +00:00
board: mediatek: update config headers
Remove unused information from include/configs/mtxxxx.h Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
parent
5fd6d4c7b3
commit
fd9385abe2
6 changed files with 7 additions and 29 deletions
|
@ -14,6 +14,7 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
#include <linux/sizes.h>
|
||||||
|
|
||||||
/* EMI */
|
/* EMI */
|
||||||
#define EMI_CONA 0x000
|
#define EMI_CONA 0x000
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
||||||
|
|
||||||
/* SPL */
|
/* SPL */
|
||||||
|
|
||||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||||
|
|
||||||
/* Dummy value */
|
/* Dummy value */
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
/* MMC */
|
/* MMC */
|
||||||
#define MMC_SUPPORTS_TUNING
|
#define MMC_SUPPORTS_TUNING
|
||||||
|
|
||||||
/* NAND */
|
|
||||||
|
|
||||||
/* Serial SPL */
|
/* Serial SPL */
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
|
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_SERIAL)
|
||||||
#define CFG_SYS_NS16550_CLK 50000000
|
#define CFG_SYS_NS16550_CLK 50000000
|
||||||
|
|
|
@ -11,12 +11,6 @@
|
||||||
|
|
||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
|
||||||
/* Miscellaneous configurable options */
|
|
||||||
|
|
||||||
/* Environment */
|
|
||||||
|
|
||||||
/* Preloader -> Uboot */
|
|
||||||
|
|
||||||
/* MMC */
|
/* MMC */
|
||||||
#define MMC_SUPPORTS_TUNING
|
#define MMC_SUPPORTS_TUNING
|
||||||
|
|
||||||
|
@ -32,8 +26,6 @@
|
||||||
"fdt_addr_r=" FDT_HIGH "\0" \
|
"fdt_addr_r=" FDT_HIGH "\0" \
|
||||||
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
|
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
|
||||||
|
|
||||||
/* Ethernet */
|
|
||||||
|
|
||||||
#ifdef CONFIG_DISTRO_DEFAULTS
|
#ifdef CONFIG_DISTRO_DEFAULTS
|
||||||
|
|
||||||
#define BOOT_TARGET_DEVICES(func) \
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
230400, 460800, 921600 }
|
230400, 460800, 921600 }
|
||||||
|
|
||||||
/* SPL */
|
/* SPL */
|
||||||
|
|
||||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||||
|
|
||||||
/* Dummy value */
|
/* Dummy value */
|
||||||
|
|
|
@ -9,21 +9,10 @@
|
||||||
#ifndef __MT7629_H
|
#ifndef __MT7629_H
|
||||||
#define __MT7629_H
|
#define __MT7629_H
|
||||||
|
|
||||||
#include <linux/sizes.h>
|
/* SPL */
|
||||||
|
|
||||||
/* Miscellaneous configurable options */
|
|
||||||
|
|
||||||
/* Environment */
|
|
||||||
|
|
||||||
#define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO)
|
#define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO)
|
||||||
|
|
||||||
/* SPL -> Uboot */
|
|
||||||
|
|
||||||
/* UBoot -> Kernel */
|
|
||||||
|
|
||||||
/* DRAM */
|
/* DRAM */
|
||||||
#define CFG_SYS_SDRAM_BASE 0x40000000
|
#define CFG_SYS_SDRAM_BASE 0x40000000
|
||||||
|
|
||||||
/* Ethernet */
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue