global: Remove unused CONFIG symbols
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:31 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 15:31:48 +0000 (10:31 -0500)
This removes the following unreferenced CONFIG symbols:
   CONFIG_FDTADDR
   CONFIG_FDTFILE
   CONFIG_FLASH_SECTOR_SIZE
   CONFIG_FSL_CPLD
   CONFIG_HDMI_ENCODER_I2C_ADDR
   CONFIG_I2C_MVTWSI
   CONFIG_I2C_RTC_ADDR
   CONFIG_IRAM_END
   CONFIG_IRAM_SIZE
   CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
   CONFIG_L1_INIT_RAM
   CONFIG_MACB_SEARCH_PHY
   CONFIG_MIU_2BIT_21_7_INTERLEAVED
   CONFIG_MTD_NAND_VERIFY_WRITE
   CONFIG_MVGBE_PORTS
   CONFIG_NETDEV
   CONFIG_NUM_DSP_CPUS
   CONFIG_PHY_BASE_ADR
   CONFIG_PHY_INTERFACE_MODE
   CONFIG_PSRAM_SCFG
   CONFIG_RAMBOOT_SPIFLASH
   CONFIG_RAMBOOT_TEXT_BASE
   CONFIG_RD_LVL
   CONFIG_ROCKCHIP_SDHCI_MAX_FREQ
   CONFIG_SETUP_INITRD_TAG
   CONFIG_SH_QSPI_BASE
   CONFIG_SMDK5420
   CONFIG_SOCRATES
   CONFIG_SPI_ADDR
   CONFIG_SPI_FLASH_QUAD
   CONFIG_SPI_FLASH_SIZE
   CONFIG_SPI_HALF_DUPLEX
   CONFIG_SPI_N25Q256A_RESET
   CONFIG_TEGRA_SLINK_CTRLS
   CONFIG_TPM_TIS_BASE_ADDRESS
   CONFIG_UBOOT_SECTOR_COUNT
   CONFIG_UBOOT_SECTOR_START
   CONFIG_VAR_SIZE_SPL
   CONFIG_VERY_BIG_RAM

And also:
   BL1_SIZE
   PHY_NO
   RESERVE_BLOCK_SIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
99 files changed:
README
arch/arm/include/asm/arch-ls102xa/config.h
arch/arm/mach-mvebu/include/mach/config.h
arch/powerpc/include/asm/config_mpc85xx.h
arch/xtensa/include/asm/config.h
board/Marvell/openrd/openrd.c
drivers/net/mvgbe.c
drivers/net/mvgbe.h
drivers/ram/mpc83xx_sdram.c
include/configs/MPC837XERDB.h
include/configs/P1010RDB.h
include/configs/P2041RDB.h
include/configs/SBx81LIFKW.h
include/configs/SBx81LIFXCAT.h
include/configs/T102xRDB.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/alt.h
include/configs/ax25-ae350.h
include/configs/beaver.h
include/configs/blanche.h
include/configs/cardhu.h
include/configs/cei-tk1-som.h
include/configs/colibri_vf.h
include/configs/dalmore.h
include/configs/dns325.h
include/configs/dockstar.h
include/configs/dra7xx_evm.h
include/configs/dreamplug.h
include/configs/ds109.h
include/configs/eb_cpu5282.h
include/configs/efi-x86_app.h
include/configs/embestmx6boards.h
include/configs/ethernut5.h
include/configs/exynos5-common.h
include/configs/exynos5420-common.h
include/configs/exynos7420-common.h
include/configs/goflexhome.h
include/configs/guruplug.h
include/configs/ib62x0.h
include/configs/iconnect.h
include/configs/jetson-tk1.h
include/configs/k2e_evm.h
include/configs/k2g_evm.h
include/configs/k2l_evm.h
include/configs/kmcent2.h
include/configs/kontron_sl28.h
include/configs/lacie_kw.h
include/configs/legoev3.h
include/configs/ls1028a_common.h
include/configs/ls1043a_common.h
include/configs/ls1043aqds.h
include/configs/ls1043ardb.h
include/configs/ls1046a_common.h
include/configs/ls1046afrwy.h
include/configs/ls1046aqds.h
include/configs/ls1046ardb.h
include/configs/ls1088a_common.h
include/configs/ls1088aqds.h
include/configs/ls1088ardb.h
include/configs/ls2080a_common.h
include/configs/ls2080aqds.h
include/configs/ls2080ardb.h
include/configs/lx2160a_common.h
include/configs/malta.h
include/configs/mt7621.h
include/configs/mt7629.h
include/configs/mxs.h
include/configs/nas220.h
include/configs/nsa310s.h
include/configs/nyan-big.h
include/configs/openrd.h
include/configs/origen.h
include/configs/p2371-0000.h
include/configs/p2371-2180.h
include/configs/p2571.h
include/configs/p3450-0000.h
include/configs/pm9263.h
include/configs/pogo_e02.h
include/configs/pogo_v4.h
include/configs/porter.h
include/configs/qemu-ppce500.h
include/configs/rcar-gen3-common.h
include/configs/rk3399_common.h
include/configs/sheevaplug.h
include/configs/silk.h
include/configs/smdk5420.h
include/configs/smdkv310.h
include/configs/socfpga_sr1500.h
include/configs/socrates.h
include/configs/stout.h
include/configs/synquacer.h
include/configs/tec-ng.h
include/configs/venice2.h
include/configs/vinco.h
include/configs/x86-common.h
include/configs/xpress.h

diff --git a/README b/README
index 1209633..9e26278 100644 (file)
--- a/README
+++ b/README
@@ -373,12 +373,6 @@ The following options need to be configured:
                such as ARM architectural timer initialization.
 
 - Linux Kernel Interface:
-               CONFIG_MEMSIZE_IN_BYTES         [relevant for MIPS only]
-
-               When transferring memsize parameter to Linux, some versions
-               expect it to be in bytes, others in MB.
-               Define CONFIG_MEMSIZE_IN_BYTES to make it in bytes.
-
                CONFIG_OF_LIBFDT
 
                New kernel versions are expecting firmware settings to be
@@ -585,11 +579,6 @@ The following options need to be configured:
                Support for generic parallel port TPM devices. Only one device
                per system is supported at this time.
 
-                       CONFIG_TPM_TIS_BASE_ADDRESS
-                       Base address where the generic TPM device is mapped
-                       to. Contemporary x86 systems usually map it at
-                       0xfed40000.
-
                CONFIG_TPM
                Define this to enable the TPM support library which provides
                functional interfaces to some TPM commands.
index 14f86df..4a4d642 100644 (file)
@@ -70,7 +70,6 @@
 /* SATA */
 #define AHCI_BASE_ADDR                         (CONFIG_SYS_IMMR + 0x02200000)
 #ifdef CONFIG_DDR_SPD
-#define CONFIG_VERY_BIG_RAM
 #define CONFIG_MAX_MEM_MAPPED                  ((phys_size_t)2 << 30)
 #endif
 
index 2e06f2b..96a0810 100644 (file)
 /* Needed for SPI NOR booting in SPL */
 #define CONFIG_DM_SEQ_ALIAS            1
 
-/*
- * I2C related stuff
- */
-#ifdef CONFIG_CMD_I2C
-#ifndef CONFIG_SYS_I2C_SOFT
-#define CONFIG_I2C_MVTWSI
-#endif
-#endif
-
 #endif /* __MVEBU_CONFIG_H */
index edaf8ba..e805991 100644 (file)
 #define CFG_SYS_FM_MURAM_SIZE  0x60000
 
 #ifdef CONFIG_ARCH_B4860
-#define CONFIG_NUM_DSP_CPUS            6
 #define CFG_SYS_FSL_CLUSTER_CLOCKS     { 1, 4, 4, 4 }
 #define CFG_SYS_NUM_FM1_DTSEC  6
 #define CFG_SYS_NUM_FM1_10GEC  2
index a1096ab..21b334b 100644 (file)
@@ -14,7 +14,6 @@
  * restricting used physical memory to the first 128MB.
  */
 #if XCHAL_HAVE_PTP_MMU
-#define CONFIG_VERY_BIG_RAM
 #define CONFIG_MAX_MEM_MAPPED (128 << 20)
 #endif
 
index f44ac33..581e2e0 100644 (file)
@@ -140,7 +140,7 @@ void mv_phy_init(char *name)
        /* reset the phy */
        miiphy_reset(name, devadr);
 
-       printf(PHY_NO" Initialized on %s\n", name);
+       printf("Initialized on %s\n", name);
 }
 
 void reset_phy(void)
index 58363fc..3587ca2 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#ifndef CONFIG_MVGBE_PORTS
-# define CONFIG_MVGBE_PORTS {0, 0}
-#endif
-
 #define MV_PHY_ADR_REQUEST 0xee
 #define MVGBE_SMI_REG (((struct mvgbe_registers *)MVGBE0_BASE)->smi)
 #define MVGBE_PGADR_REG        22
index e3f5ac0..6514ab6 100644 (file)
 #ifndef __MVGBE_H__
 #define __MVGBE_H__
 
-/* PHY_BASE_ADR is board specific and can be configured */
-#if defined (CONFIG_PHY_BASE_ADR)
-#define PHY_BASE_ADR           CONFIG_PHY_BASE_ADR
-#else
-#define PHY_BASE_ADR           0x08    /* default phy base addr */
-#endif
-
 /* Constants */
 #define INT_CAUSE_UNMASK_ALL           0x0007ffff
 #define INT_CAUSE_UNMASK_ALL_EXT       0x0011ffff
index a53ff93..11676d4 100644 (file)
@@ -118,12 +118,7 @@ int dram_init(void)
 
 phys_size_t get_effective_memsize(void)
 {
-       if (!IS_ENABLED(CONFIG_VERY_BIG_RAM))
-               return gd->ram_size;
-
-       /* Limit stack to what we can reasonable map */
-       return ((gd->ram_size > CONFIG_MAX_MEM_MAPPED) ?
-               CONFIG_MAX_MEM_MAPPED : gd->ram_size);
+       return gd->ram_size;
 }
 
 /**
index 7dff3cc..7b932eb 100644 (file)
  * Environment Configuration
  */
 
-#define CONFIG_NETDEV          "eth1"
-
-#define CONFIG_FDTFILE         "mpc8379_rdb.dtb"
+#define FDTFILE                        "mpc8379_rdb.dtb"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "netdev=" CONFIG_NETDEV "\0"                            \
+       "netdev=eth1\0"                         \
        "uboot=" CONFIG_UBOOTPATH "\0"                                  \
        "tftpflash=tftp $loadaddr $uboot;"                              \
                "protect off " __stringify(CONFIG_TEXT_BASE)    \
                "cmp.b $loadaddr " __stringify(CONFIG_TEXT_BASE)        \
                        " $filesize\0"  \
        "fdtaddr=780000\0"                                              \
-       "fdtfile=" CONFIG_FDTFILE "\0"                                  \
+       "fdtfile=" FDTFILE "\0"                                 \
        "ramdiskaddr=1000000\0"                                         \
        "ramdiskfile=rootfs.ext2.gz.uboot\0"                            \
        "console=ttyS0\0"                                               \
index d83563d..02d49c3 100644 (file)
@@ -24,7 +24,6 @@
 
 #ifdef CONFIG_SPIFLASH
 #ifdef CONFIG_NXP_ESBC
-#define CONFIG_RAMBOOT_SPIFLASH
 #define CONFIG_RESET_VECTOR_ADDRESS    0x110bfffc
 #else
 #define CFG_SYS_SPI_FLASH_U_BOOT_SIZE  (512 << 10)
index 0f0cdb3..1a157a7 100644 (file)
@@ -12,7 +12,6 @@
 #define __CONFIG_H
 
 #ifdef CONFIG_RAMBOOT_PBL
-#define CONFIG_RAMBOOT_TEXT_BASE       CONFIG_TEXT_BASE
 #define CONFIG_RESET_VECTOR_ADDRESS    0xfffffffc
 #endif
 
 /*
  *  Config the L3 Cache as L3 SRAM
  */
-#define CFG_SYS_INIT_L3_ADDR           CONFIG_RAMBOOT_TEXT_BASE
+#define CFG_SYS_INIT_L3_ADDR           CONFIG_TEXT_BASE
 #ifdef CONFIG_PHYS_64BIT
-#define CFG_SYS_INIT_L3_ADDR_PHYS      (0xf00000000ull | \
-               CONFIG_RAMBOOT_TEXT_BASE)
+#define CFG_SYS_INIT_L3_ADDR_PHYS      (0xf00000000ull | CONFIG_TEXT_BASE)
 #else
 #define CFG_SYS_INIT_L3_ADDR_PHYS      CFG_SYS_INIT_L3_ADDR
 #endif
@@ -62,7 +60,6 @@
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 
@@ -88,7 +85,6 @@
 #define CFG_SYS_FLASH_BASE_PHYS        CFG_SYS_FLASH_BASE
 #endif
 
-#define CONFIG_FSL_CPLD
 #define CPLD_BASE              0xffdf0000      /* CPLD registers */
 #ifdef CONFIG_PHYS_64BIT
 #define CPLD_BASE_PHYS         0xfffdf0000ull
 #define CFG_SYS_FLASH_BANKS_LIST       {CFG_SYS_FLASH_BASE_PHYS + 0x8000000}
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xffd00000      /* Initial L1 address */
 #ifdef CONFIG_PHYS_64BIT
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH 0xf
index d5c9c05..19ae639 100644 (file)
 /* size in bytes reserved for initial data */
 
 #include <asm/arch/config.h>
-/* There is no PHY directly connected so don't ask it for link status */
-
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable a single port */
-#define CONFIG_PHY_BASE_ADR    0x01
-#endif /* CONFIG_CMD_NET */
 
 #endif /* _CONFIG_SBX81LIFKW_H */
index 23d3739..bdbf9d4 100644 (file)
 /* size in bytes reserved for initial data */
 
 #include <asm/arch/config.h>
-/* There is no PHY directly connected so don't ask it for link status */
-
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable a single port */
-#define CONFIG_PHY_BASE_ADR    0x01
-#endif /* CONFIG_CMD_NET */
 
 #endif /* _CONFIG_SBX81LIFXCAT_H */
index e815d9f..4b443c7 100644 (file)
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 #if defined(CONFIG_TARGET_T1024RDB)
 #endif
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xfdd00000      /* Initial L1 address */
 #ifdef CONFIG_PHYS_64BIT
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH        0xf
index 6fe0bd6..dfad76e 100644 (file)
@@ -86,7 +86,6 @@
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 
 #endif
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xfdd00000      /* Initial L1 address */
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH        0xf
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_LOW 0xfe03c000
  */
 #define CFG_SYS_I2C_RTC_ADDR         0x68
 
-/*DVI encoder*/
-#define CONFIG_HDMI_ENCODER_I2C_ADDR  0x75
 #endif
 
 /*
index 79b3d7a..24c1daf 100644 (file)
@@ -78,7 +78,6 @@
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 #define CFG_SYS_SDRAM_SIZE     2048    /* for fixed parameter use */
 #endif
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xfdd00000 /* Initial L1 address */
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH        0xf
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_LOW 0xfe03c000
index 2a32fe3..c825e7f 100644 (file)
@@ -78,7 +78,6 @@
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 #define CFG_SYS_SDRAM_SIZE     2048    /* for fixed parameter use */
 #endif
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xfdd00000 /* Initial L1 address */
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH        0xf
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_LOW 0xfe03c000
index d8c4de5..95735f3 100644 (file)
@@ -16,7 +16,6 @@
 
 #ifdef CONFIG_RAMBOOT_PBL
 #ifndef CONFIG_SDCARD
-#define CONFIG_RAMBOOT_TEXT_BASE        CONFIG_TEXT_BASE
 #define CONFIG_RESET_VECTOR_ADDRESS     0xfffffffc
 #else
 #define RESET_VECTOR_OFFSET            0x27FFC
@@ -60,7 +59,6 @@
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 
@@ -71,7 +69,6 @@
 #define CFG_SYS_FLASH_BASE_PHYS        (0xf00000000ull | CFG_SYS_FLASH_BASE)
 
 /* define to use L1 as initial stack */
-#define CONFIG_L1_INIT_RAM
 #define CFG_SYS_INIT_RAM_ADDR  0xfdd00000      /* Initial L1 address */
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_HIGH        0xf
 #define CFG_SYS_INIT_RAM_ADDR_PHYS_LOW 0xfe03c000
index fe303fd..f277400 100644 (file)
@@ -20,9 +20,6 @@
 #define RCAR_GEN2_SDRAM_SIZE           (1024u * 1024 * 1024)
 #define RCAR_GEN2_UBOOT_SDRAM_SIZE     (512 * 1024 * 1024)
 
-/* FLASH */
-#define CONFIG_SPI_FLASH_QUAD
-
 /* SH Ether */
 #define CONFIG_SH_ETHER_USE_PORT       0
 #define CONFIG_SH_ETHER_PHY_ADDR       0x1
index 03e04e6..d70f038 100644 (file)
@@ -49,9 +49,6 @@
 */
 #define CFG_SYS_FLASH_BANKS_SIZES {0x4000000}
 
-/* max number of sectors on one chip */
-#define CONFIG_FLASH_SECTOR_SIZE       (0x10000*2)
-
 /* environments */
 
 /* SPI FLASH */
index 6b5f650..7078c27 100644 (file)
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTA_BASE
 
-/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS       6
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index fe09997..d4e0f67 100644 (file)
@@ -22,9 +22,7 @@
 #define RCAR_GEN2_UBOOT_SDRAM_SIZE     (512 * 1024 * 1024)
 
 /* FLASH */
-#if !defined(CONFIG_MTD_NOR_FLASH)
-#define CONFIG_SH_QSPI_BASE    0xE6B10000
-#else
+#if defined(CONFIG_MTD_NOR_FLASH)
 #define CFG_SYS_FLASH_BASE             0x00000000
 #define CFG_SYS_FLASH_SIZE             0x04000000      /* 64 MB */
 #define CFG_SYS_FLASH_BANKS_LIST       { (CFG_SYS_FLASH_BASE) }
index 35c5a4f..5cca1e1 100644 (file)
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTA_BASE
 
-/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS       6
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 55e2d74..e3519ed 100644 (file)
@@ -22,9 +22,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTD_BASE
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 8a79040..e8918df 100644 (file)
 #include <asm/arch/imx-regs.h>
 #include <linux/sizes.h>
 
-/* NAND support */
-
-#define CONFIG_FDTADDR                 0x84000000
-
 #define MEM_LAYOUT_ENV_SETTINGS \
        "bootm_size=0x10000000\0" \
        "fdt_addr_r=0x82000000\0" \
index 24cf554..82b2efd 100644 (file)
@@ -19,9 +19,6 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 015bc78..1bfb741 100644 (file)
 /* Remove or override few declarations from mv-common.h */
 
 /*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS             {1, 0} /* enable port 0 only */
-#endif
-
-/*
  * Enable GPI0 support
  */
 
index 33ae7d6..a6c1e9c 100644 (file)
        "initrd=/boot/uInitrd\0" \
        "bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro\0"
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_DOCKSTAR_H */
index b8f5186..f8afcc7 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <environment/ti/dfu.h>
 
-#define CONFIG_VERY_BIG_RAM
 #define CONFIG_MAX_MEM_MAPPED          0x80000000
 
 #ifndef CONFIG_QSPI_BOOT
index fbd83d6..98322a5 100644 (file)
        "x_bootargs=console=ttyS0,115200\0"     \
        "x_bootargs_root=root=/dev/sda2 rootdelay=10\0"
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 1}  /* enable both ports */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_DREAMPLUG_H */
index 8553ea0..8e7a86e 100644 (file)
        "ipaddr=192.168.1.5\0"          \
        "usb0Mode=host\0"
 
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable one port */
-#define CONFIG_PHY_BASE_ADR    8
-#endif /* CONFIG_CMD_NET */
-
 #endif /* _CONFIG_DS109_H */
index 717f49c..029f13d 100644 (file)
 #define CFG_SYS_DDRUA          0x05
 #define CFG_SYS_PJPAR          0xFF
 
-/*-----------------------------------------------------------------------
- * I2C
- */
-
-#ifdef CONFIG_CMD_DATE
-#define CONFIG_I2C_RTC_ADDR            0x68
-#endif
-
 #endif /* _CONFIG_M5282EVB_H */
 /*---------------------------------------------------------------------*/
index 6061a6d..17a7851 100644 (file)
@@ -8,8 +8,6 @@
 
 #include <configs/x86-common.h>
 
-#undef CONFIG_TPM_TIS_BASE_ADDRESS
-
 #define CONFIG_STD_DEVICES_SETTINGS    "stdin=serial\0" \
                                        "stdout=vidconsole\0" \
                                        "stderr=vidconsole\0"
index 22e0fa5..1742b11 100644 (file)
 
 #if defined(CONFIG_ENV_IS_IN_MMC)
 /* RiOTboard */
-#define CONFIG_FDTFILE "imx6dl-riotboard.dtb"
+#define FDTFILE        "imx6dl-riotboard.dtb"
 #define CFG_SYS_FSL_USDHC_NUM  3
 #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
 /* MarSBoard */
-#define CONFIG_FDTFILE "imx6q-marsboard.dtb"
+#define FDTFILE        "imx6q-marsboard.dtb"
 #define CFG_SYS_FSL_USDHC_NUM  2
 #endif
 
@@ -79,7 +79,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        CONSOLE_ENV_SETTINGS \
        MEM_LAYOUT_ENV_SETTINGS \
-       "fdtfile=" CONFIG_FDTFILE "\0" \
+       "fdtfile=" FDTFILE "\0" \
        "finduuid=part uuid mmc 0:1 uuid\0" \
        BOOTENV
 
index 52eb0be..3fd58d6 100644 (file)
@@ -49,7 +49,6 @@
 
 /* Ethernet */
 #define CONFIG_PHY_ID                  0
-#define CONFIG_MACB_SEARCH_PHY
 
 /* MMC */
 #ifdef CONFIG_CMD_MMC
index 9b5c329..8e277ce 100644 (file)
@@ -27,8 +27,6 @@
 /* MMC SPL */
 #define COPY_BL2_FNPTR_ADDR    0x02020030
 
-#define CONFIG_RD_LVL
-
 #define PHYS_SDRAM_1           CFG_SYS_SDRAM_BASE
 #define PHYS_SDRAM_1_SIZE      SDRAM_BANK_SIZE
 #define PHYS_SDRAM_2           (CFG_SYS_SDRAM_BASE + SDRAM_BANK_SIZE)
index 7a9307c..934a4ef 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef __CONFIG_EXYNOS5420_H
 #define __CONFIG_EXYNOS5420_H
 
-#define CONFIG_VAR_SIZE_SPL
-
 #define CONFIG_IRAM_TOP                        0x02074000
 
 #define CONFIG_PHY_IRAM_BASE           0x02020000
index cff910c..e22dd03 100644 (file)
 
 /* select serial console configuration */
 
-/* IRAM Layout */
-#define CONFIG_IRAM_BASE               0x02100000
-#define CONFIG_IRAM_SIZE               0x58000
-#define CONFIG_IRAM_END                        (CONFIG_IRAM_BASE + CONFIG_IRAM_SIZE)
 #define CPU_RELEASE_ADDR               secondary_boot_addr
 
 /* select serial console configuration */
index 66eed9e..1c86dcb 100644 (file)
        "kernel=/boot/uImage\0" \
        "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_GOFLEXHOME_H */
index 4954c5c..d196c4e 100644 (file)
        "fdt=/boot/guruplug-server-plus.dtb\0"                          \
        "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
 
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 1}  /* enable both ports */
-#define CONFIG_PHY_BASE_ADR    0
-#endif /* CONFIG_CMD_NET */
-
 #endif /* _CONFIG_GURUPLUG_H */
index 0519221..76fc4ac 100644 (file)
        "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
 
 /*
- * Ethernet driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-#endif /* CONFIG_CMD_NET */
-
-/*
  * SATA driver configuration
  */
 #ifdef CONFIG_IDE
index f2e3608..6d2104b 100644 (file)
        "kernel=/boot/uImage\0"                 \
        "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
 
-/*
- * Ethernet driver configuration
- *
- * This board has PCIe Wifi card, so allow Ethernet to be disabled
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    11
-#endif /* CONFIG_CMD_NET */
-
 #endif /* _CONFIG_ICONNECT_H */
index b846889..ea4964b 100644 (file)
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTD_BASE
 
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index bbc58be..174a91c 100644 (file)
@@ -39,6 +39,5 @@
 /* Network */
 #define CONFIG_KSNET_NETCP_V1_5
 #define CONFIG_KSNET_CPSW_NUM_PORTS    9
-#define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
 
 #endif /* __CONFIG_K2E_EVM_H */
index bb91751..dc06d59 100644 (file)
@@ -53,7 +53,6 @@
 /* Network */
 #define CONFIG_KSNET_NETCP_V1_5
 #define CONFIG_KSNET_CPSW_NUM_PORTS    2
-#define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
 #define PHY_ANEG_TIMEOUT       10000 /* PHY needs longer aneg time */
 
 #define SPI_MTD_PARTS  KEYSTONE_SPI1_MTD_PARTS
index a18158a..5d62945 100644 (file)
@@ -39,6 +39,5 @@
 /* Network */
 #define CONFIG_KSNET_NETCP_V1_5
 #define CONFIG_KSNET_CPSW_NUM_PORTS    5
-#define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
 
 #endif /* __CONFIG_K2L_EVM_H */
index 532370e..80bff4b 100644 (file)
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 
index 9c3174d..f7bb97a 100644 (file)
@@ -18,7 +18,6 @@
 /* DDR */
 #define CONFIG_MEM_INIT_VALUE          0xdeadbeef
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index 828f910..7a66df5 100644 (file)
  */
 
 /*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS             {1, 0} /* enable port 0 only */
-#endif
-
-/*
  * Enable GPI0 support
  */
 
index abe470f..794c1fc 100644 (file)
@@ -48,7 +48,6 @@
  * Linux Information
  */
 #define LINUX_BOOT_PARAM_ADDR  (PHYS_SDRAM_1 + 0x100)
-#define CONFIG_SETUP_INITRD_TAG
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootenvfile=uEnv.txt\0" \
        "fdtfile=da850-lego-ev3.dtb\0" \
index b190bfe..2ccb201 100644 (file)
@@ -12,7 +12,6 @@
 
 /* Link Definitions */
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000UL
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index e54e903..d0380b3 100644 (file)
@@ -31,7 +31,6 @@
 
 /* Link Definitions */
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index dab5738..1dca7f0 100644 (file)
 #define CFG_SYS_NAND_FTIM3           0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 #endif
 
 #ifdef CONFIG_NAND_BOOT
index 12c4853..0439041 100644 (file)
@@ -82,7 +82,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 #ifdef CONFIG_NAND_BOOT
 #define CFG_SYS_NAND_U_BOOT_SIZE       (1024 << 10)
index 4ed5481..250891e 100644 (file)
@@ -31,7 +31,6 @@
 
 /* Link Definitions */
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index 1759d25..5e03a96 100644 (file)
@@ -45,7 +45,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 /* IFC Timing Params */
 #define CFG_SYS_CSPR0_EXT              CFG_SYS_NAND_CSPR_EXT
index e9b8ad0..c4e5f49 100644 (file)
 #define CFG_SYS_NAND_FTIM3           0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 #endif
 
 #ifdef CONFIG_NAND_BOOT
index f3904e7..ad766b0 100644 (file)
@@ -50,7 +50,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 /*
  * CPLD
index 57429d4..bcba8d8 100644 (file)
@@ -29,7 +29,6 @@
 /* Link Definitions */
 #define CFG_SYS_FSL_QSPI_BASE  0x20000000
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000UL
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index dc9cded..49ad146 100644 (file)
@@ -97,7 +97,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 #define CFG_SYS_I2C_FPGA_ADDR  0x66
 #define QIXIS_LBMAP_SWITCH             6
index e2444cd..9033f6e 100644 (file)
@@ -81,7 +81,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 #define CFG_SYS_I2C_FPGA_ADDR  0x66
 #define QIXIS_BRDCFG4_OFFSET            0x54
index e82456f..bd78bdb 100644 (file)
@@ -16,7 +16,6 @@
 
 /* Link Definitions */
 
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x80000000UL
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
index 4e6d40a..7d3e891 100644 (file)
@@ -98,7 +98,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 #define QIXIS_LBMAP_SWITCH             0x06
 #define QIXIS_LBMAP_MASK               0x0f
index 8f36958..4573906 100644 (file)
@@ -95,7 +95,6 @@
 #define CFG_SYS_NAND_FTIM3             0x0
 
 #define CFG_SYS_NAND_BASE_LIST { CFG_SYS_NAND_BASE }
-#define CONFIG_MTD_NAND_VERIFY_WRITE
 
 #define QIXIS_LBMAP_SWITCH             0x06
 #define QIXIS_LBMAP_MASK               0x0f
index a469c83..3347920 100644 (file)
@@ -13,7 +13,6 @@
 #define CFG_SYS_FLASH_BASE             0x20000000
 
 /* DDR */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE         0x80000000UL
 #define CFG_SYS_FSL_DDR_SDRAM_BASE_PHY 0
 #define CFG_SYS_DDR_BLOCK2_BASE                0x2080000000ULL
index 65f4b05..8ba04b4 100644 (file)
@@ -11,8 +11,6 @@
  */
 #define CONFIG_MALTA
 
-#define CONFIG_MEMSIZE_IN_BYTES
-
 /*
  * CPU Configuration
  */
index 7c8c67f..b6e680b 100644 (file)
@@ -10,7 +10,6 @@
 
 #define CFG_SYS_SDRAM_BASE             0x80000000
 
-#define CONFIG_VERY_BIG_RAM
 #define CONFIG_MAX_MEM_MAPPED          0x1c000000
 
 #define CFG_SYS_INIT_SP_OFFSET 0x800000
index 99b09ad..f6ab486 100644 (file)
 
 /* Environment */
 
-/* Defines for SPL */
-
-#define CONFIG_SPI_ADDR                        0x30000000
-#define CFG_SYS_UBOOT_BASE             (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
+#define CFG_SYS_UBOOT_BASE             (0x30000000 + CONFIG_SPL_PAD_TO)
 
 /* SPL -> Uboot */
 
index 30f27e7..32e0e06 100644 (file)
@@ -86,9 +86,4 @@
 #define CFG_SYS_NAND_BASE              0x60000000
 #endif
 
-/* SPI */
-#ifdef CONFIG_CMD_SPI
-#define CONFIG_SPI_HALF_DUPLEX
-#endif
-
 #endif /* __CONFIGS_MXS_H__ */
index 1b7eb34..85691ca 100644 (file)
        "bootargs=console=ttyS0,115200\0" \
        "autostart=no\0"
 
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-#define CONFIG_MVGBE_PORTS {1, 0}      /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR 8
-#endif /* CONFIG_CMD_NET */
-
-/*
- * EFI partition
- */
-
 #endif /* _CONFIG_NAS220_H */
index 62f0701..e2ad770 100644 (file)
@@ -46,8 +46,4 @@
 
 #endif /* CONFIG_SPL_BUILD */
 
-/* Ethernet driver configuration */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    1
-
 #endif /* _CONFIG_NSA310S_H */
index baa4521..21002f9 100644 (file)
@@ -18,9 +18,6 @@
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTA_BASE
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 006f06e..2cec20c 100644 (file)
        "x_bootcmd_usb=usb start\0"                                     \
        "x_bootargs_root=root=ubi0:rootfs rootfstype=ubifs\0"
 
-/*
- * Ethernet Driver configuration
- */
-#ifdef CONFIG_CMD_NET
-# ifdef CONFIG_BOARD_IS_OPENRD_BASE
-#  define CONFIG_MVGBE_PORTS   {1, 0}  /* enable port 0 only */
-# else
-#  define CONFIG_MVGBE_PORTS   {1, 1}  /* enable both ports */
-# endif
-# ifdef CONFIG_BOARD_IS_OPENRD_ULTIMATE
-#  define CONFIG_PHY_BASE_ADR  0x0
-#  define PHY_NO               "88E1121"
-# else
-#  define CONFIG_PHY_BASE_ADR  0x8
-#  define PHY_NO               "88E1116"
-# endif
-#endif /* CONFIG_CMD_NET */
-
-/*
- * SATA Driver configuration
- */
-
 #endif /* _CONFIG_OPENRD_BASE_H */
index 6633d54..a608df4 100644 (file)
         "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
                 "source ${loadaddr}\0"
 
-/* MIU (Memory Interleaving Unit) */
-#define CONFIG_MIU_2BIT_21_7_INTERLEAVED
-
-#define RESERVE_BLOCK_SIZE             (512)
-#define BL1_SIZE                       (16 << 10) /*16 K reserved for BL1*/
-
 #endif /* __CONFIG_H */
index ecd0405..653b4c5 100644 (file)
@@ -19,9 +19,6 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* _P2371_0000_H */
index 7f94288..2913d53 100644 (file)
@@ -19,9 +19,6 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* _P2371_2180_H */
index 50cddb4..e78e3c4 100644 (file)
@@ -19,9 +19,6 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* _P2571_H */
index ec1a863..bab02dc 100644 (file)
@@ -23,9 +23,6 @@
        func(PXE, pxe, na) \
        func(DHCP, dhcp, na)
 
-/* Environment at end of QSPI, in the VER partition */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #define BOARD_EXTRA_ENV_SETTINGS \
        "preboot=if test -e mmc 1:1 /u-boot-preboot.scr; then " \
                "load mmc 1:1 ${scriptaddr} /u-boot-preboot.scr; " \
index 9fd8979..fa08744 100644 (file)
 /* PSRAM */
 #define        PHYS_PSRAM                      0x70000000
 #define        PHYS_PSRAM_SIZE                 0x00400000      /* 4MB */
-/* Slave EBI1, PSRAM connected */
-#define CONFIG_PSRAM_SCFG              (AT91_MATRIX_SCFG_ARBT_FIXED_PRIORITY   | \
-                                        AT91_MATRIX_SCFG_FIXED_DEFMSTR(5)      | \
-                                        AT91_MATRIX_SCFG_DEFMSTR_TYPE_FIXED    | \
-                                        AT91_MATRIX_SCFG_SLOT_CYCLE(255))
 
 /* USB */
 #define CFG_SYS_USB_OHCI_REGS_BASE             0x00a00000      /* AT91SAM9263_UHP_BASE */
index 0857322..fc9f113 100644 (file)
        "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
        "ext2load usb 0:1 0x01100000 /uInitrd\0"
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_POGO_E02_H */
index b5ce2dd..239d33d 100644 (file)
        BOOTENV
 #endif /* CONFIG_SPL_BUILD */
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_POGO_V4_H */
index 88fa65e..e0f77f3 100644 (file)
@@ -21,9 +21,6 @@
 #define RCAR_GEN2_SDRAM_SIZE           (2048u * 1024 * 1024)
 #define RCAR_GEN2_UBOOT_SDRAM_SIZE     (1024u * 1024 * 1024)
 
-/* FLASH */
-#define CONFIG_SPI_FLASH_QUAD
-
 /* SH Ether */
 #define CONFIG_SH_ETHER_USE_PORT       0
 #define CONFIG_SH_ETHER_PHY_ADDR       0x1
index d056189..20be4af 100644 (file)
@@ -29,7 +29,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
 /*
  * DDR Setup
  */
-#define CONFIG_VERY_BIG_RAM
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
 
index e9cbd25..86012ad 100644 (file)
@@ -28,7 +28,6 @@
 #define DRAM_RSV_SIZE                  0x08000000
 #define CFG_SYS_SDRAM_BASE             (0x40000000 + DRAM_RSV_SIZE)
 #define CFG_SYS_SDRAM_SIZE             (0x80000000u - DRAM_RSV_SIZE)
-#define CONFIG_VERY_BIG_RAM
 #define CONFIG_MAX_MEM_MAPPED          (0x80000000u - DRAM_RSV_SIZE)
 
 /* ENV setting */
index e459581..a721f27 100644 (file)
 
 #define CONFIG_IRAM_BASE               0xff8c0000
 
-#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_TPL_BOOTROM_SUPPORT)
-#else
-/*  BSS setup */
-#endif
-
-/* MMC/SD IP block */
-#define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000
-
-/* RAW SD card / eMMC locations. */
-
 /* FAT sd card locations. */
 #define CFG_SYS_SDRAM_BASE             0
 #define SDRAM_MAX_SIZE                 0xf8000000
index 19701cc..d792396 100644 (file)
        "x_bootcmd_usb=usb start\0" \
        "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
 
-/*
- * Ethernet Driver configuration
- */
-#define CONFIG_MVGBE_PORTS     {1, 0}  /* enable port 0 only */
-#define CONFIG_PHY_BASE_ADR    0
-
 #endif /* _CONFIG_SHEEVAPLUG_H */
index 58613ef..6d605ed 100644 (file)
@@ -21,9 +21,6 @@
 #define RCAR_GEN2_SDRAM_SIZE           (1024u * 1024 * 1024)
 #define RCAR_GEN2_UBOOT_SDRAM_SIZE     (512 * 1024 * 1024)
 
-/* FLASH */
-#define CONFIG_SPI_FLASH_QUAD
-
 /* SH Ether */
 #define CONFIG_SH_ETHER_USE_PORT       0
 #define CONFIG_SH_ETHER_PHY_ADDR       0x1
index 0392530..0cb7076 100644 (file)
@@ -12,8 +12,6 @@
 #include <configs/exynos5-dt-common.h>
 #include <configs/exynos5-common.h>
 
-#define CONFIG_SMDK5420                        /* which is in a SMDK5420 */
-
 #define CFG_SYS_SDRAM_BASE     0x20000000
 
 /* DRAM Memory Banks */
index 601c16e..38de1fa 100644 (file)
@@ -34,9 +34,6 @@
 
 /* FLASH and environment organization */
 
-#define RESERVE_BLOCK_SIZE             (512)
-#define BL1_SIZE                       (16 << 10) /*16 K reserved for BL1*/
-
 /* Ethernet Controllor Driver */
 #ifdef CONFIG_CMD_NET
 #define CONFIG_ENV_SROM_BANK           1
index 432144c..caff0cf 100644 (file)
 #define PHYS_SDRAM_1_SIZE              0x40000000      /* 1GiB on SR1500 */
 
 /* Ethernet on SoC (EMAC) */
-#define CONFIG_PHY_INTERFACE_MODE      PHY_INTERFACE_MODE_RGMII
 /* The PHY is autodetected, so no MII PHY address is needed here */
 #define PHY_ANEG_TIMEOUT       8000
 
-/* Enable SPI NOR flash reset, needed for SPI booting */
-#define CONFIG_SPI_N25Q256A_RESET
-
-/* Environment setting for SPI flash */
-
 /* The rest of the configuration is shared */
 #include <configs/socfpga_common.h>
 
index 2a07671..11d8402 100644 (file)
@@ -16,9 +16,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-/* High Level Configuration Options */
-#define CONFIG_SOCRATES                1
-
 /*
  * Only possible on E500 Version 2 or newer cores.
  */
@@ -55,7 +52,6 @@
 
 #define CFG_SYS_DDR_SDRAM_BASE 0x00000000
 #define CFG_SYS_SDRAM_BASE             CFG_SYS_DDR_SDRAM_BASE
-#define CONFIG_VERY_BIG_RAM
 
 /* I2C addresses of SPD EEPROMs */
 #define SPD_EEPROM_ADDRESS     0x50    /* CTLR 0 DIMM 0 */
index f49e88c..977c0ad 100644 (file)
@@ -25,9 +25,6 @@
 /* SCIF */
 #define CONFIG_SCIF_A
 
-/* SPI */
-#define CONFIG_SPI_FLASH_QUAD
-
 /* SH Ether */
 #define CONFIG_SH_ETHER_USE_PORT       0
 #define CONFIG_SH_ETHER_PHY_ADDR       0x1
index 6992689..a2b6a1f 100644 (file)
@@ -14,7 +14,6 @@
 #define CFG_SYS_SDRAM_BASE             (0x80000000)    /* Start address of DDR3 */
 #define PHYS_SDRAM_SIZE                        (0x7c000000)    /* Default size (2GB - Secure memory) */
 
-#define CONFIG_VERY_BIG_RAM                            /* SynQuacer supports up to 64GB */
 #define CONFIG_MAX_MEM_MAPPED          PHYS_SDRAM_SIZE
 
 #define SQ_DRAMINFO_BASE               (0x2e00ffc0)    /* DRAM info from TF-A */
index 0987966..c98322c 100644 (file)
 #define CONFIG_TEGRA_ENABLE_UARTD
 #define CFG_SYS_NS16550_COM1           NV_PA_APB_UARTD_BASE
 
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
-/* SPI */
-#define CONFIG_TEGRA_SLINK_CTRLS       6
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index b2dc04a..a4eb4bf 100644 (file)
@@ -20,9 +20,6 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
-/* SPI */
-#define CONFIG_SPI_FLASH_SIZE          (4 << 20)
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 9f72bdd..1c1789a 100644 (file)
@@ -39,9 +39,6 @@
 
 /* USB device */
 
-/* Ethernet Hardware */
-#define CONFIG_MACB_SEARCH_PHY
-
 #ifdef CONFIG_SPI_BOOT
 /* bootstrap + u-boot + env + linux in serial flash */
 /* Use our own mapping for the VInCo platform */
index 9bf2462..d71108d 100644 (file)
 #ifndef __CONFIG_X86_COMMON_H
 #define __CONFIG_X86_COMMON_H
 
-/*
- * High Level Configuration Options
- * (easy to change)
- */
-
-/* Generic TPM interfaced through LPC bus */
-#define CONFIG_TPM_TIS_BASE_ADDRESS        0xfed40000
-
-/*-----------------------------------------------------------------------
- * Serial Configuration
- */
-
-/*
- * Miscellaneous configurable options
- */
-
 /*-----------------------------------------------------------------------
  * CPU Features
  */
index 3e60489..9f1f2d9 100644 (file)
@@ -34,9 +34,6 @@
 #define CONFIG_FEC_ENET_DEV            0
 #define CONFIG_FEC_MXC_PHYADDR          0x0
 
-#define CONFIG_UBOOT_SECTOR_START      0x2
-#define CONFIG_UBOOT_SECTOR_COUNT      0x3fe
-
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "image=zImage\0" \
@@ -75,8 +72,8 @@
                        "bootz; " \
                "fi;\0" \
        "uboot=ccv/u-boot.imx\0"                                        \
-       "uboot_start="__stringify(CONFIG_UBOOT_SECTOR_START)"\0"        \
-       "uboot_size="__stringify(CONFIG_UBOOT_SECTOR_COUNT)"\0"         \
+       "uboot_start=0x2\0"                                             \
+       "uboot_size=0x3fe\0"                                            \
        "update_uboot=if tftp ${uboot}; then "                          \
                "if itest ${filesize} > 0; then "                       \
                        "mmc dev 0 1;"                                  \