configs: Remove empty #ifdef/#ifndef blocks from configs

Remove empty #ifdef/#ifndef..#endif blocks where the configuration they
guarded has been completely removed.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
lime2-spi
Alex Kiernan 7 years ago committed by Tom Rini
parent 56419ea5f0
commit d673668964
  1. 3
      arch/powerpc/include/asm/config.h
  2. 2
      include/configs/MPC8610HPCD.h
  3. 3
      include/configs/P1022DS.h
  4. 2
      include/configs/T102xQDS.h
  5. 2
      include/configs/T208xQDS.h
  6. 2
      include/configs/UCP1020.h
  7. 3
      include/configs/advantech_dms-ba16.h
  8. 3
      include/configs/controlcenterd.h
  9. 3
      include/configs/cyrus.h
  10. 7
      include/configs/ea20.h
  11. 3
      include/configs/ethernut5.h
  12. 3
      include/configs/ge_bx50v3.h
  13. 3
      include/configs/ipam390.h
  14. 6
      include/configs/lacie_kw.h
  15. 3
      include/configs/mx6ul_14x14_evk.h
  16. 3
      include/configs/omapl138_lcdk.h
  17. 3
      include/configs/sunxi-common.h
  18. 4
      include/configs/tegra-common-post.h
  19. 4
      include/configs/zynq-common.h

@ -14,9 +14,6 @@
#include <asm/config_mpc86xx.h>
#endif
#ifdef CONFIG_MPC83xx
#endif
#ifndef HWCONFIG_BUFFER_SIZE
#define HWCONFIG_BUFFER_SIZE 256
#endif

@ -259,8 +259,6 @@
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#define CONFIG_ULI526X
#ifdef CONFIG_ULI526X
#endif
/************************************************************
* USB support

@ -363,9 +363,6 @@
#undef CONFIG_SYS_FLASH_EMPTY_INFO
#endif
#ifndef CONFIG_FSL_DIU_FB
#endif
#ifdef CONFIG_ATI
#define VIDEO_IO_OFFSET CONFIG_SYS_PCIE1_IO_VIRT
#define CONFIG_BIOSEMU

@ -515,8 +515,6 @@ unsigned long get_board_ddr_clk(void);
/*
* eSPI - Enhanced SPI
*/
#ifndef CONFIG_SPL_BUILD
#endif
#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_SPEED 10000000
#define CONFIG_SF_DEFAULT_MODE 0

@ -509,8 +509,6 @@ unsigned long get_board_ddr_clk(void);
* eSPI - Enhanced SPI
*/
#ifdef CONFIG_SPI_FLASH
#ifndef CONFIG_SPL_BUILD
#endif
#define CONFIG_SPI_FLASH_BAR
#define CONFIG_SF_DEFAULT_SPEED 10000000

@ -38,8 +38,6 @@
#define CONFIG_NETMASK 255.255.252.0
#define CONFIG_ETHPRIME "eTSEC3"
#ifndef CONFIG_SPI_FLASH
#endif
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
#define CONFIG_SYS_L2_SIZE (256 << 10)

@ -225,9 +225,6 @@
#define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#ifndef CONFIG_SYS_DCACHE_OFF
#endif
#define CONFIG_SYS_FSL_USDHC_NUM 3
/* Framebuffer */

@ -177,9 +177,6 @@
#define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F
#define CONFIG_SYS_FSL_I2C2_OFFSET 0x3100
#ifndef CONFIG_TRAILBLAZER
#endif
#define CONFIG_PCA9698 /* NXP PCA9698 */
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x52

@ -475,7 +475,4 @@
#include <asm/fsl_secure_boot.h>
#ifdef CONFIG_SECURE_BOOT
#endif
#endif /* __CONFIG_H */

@ -111,9 +111,6 @@
#define CONFIG_CLOCKS
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
#endif
/* NAND Setup */
#ifdef CONFIG_SYS_USE_NAND
#define CONFIG_MTD_DEVICE
@ -130,10 +127,6 @@
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND devices */
#endif
/* SPI Flash */
#ifdef CONFIG_USE_SPIFLASH
#endif
#if !defined(CONFIG_SYS_USE_NAND) && \
!defined(CONFIG_USE_NOR) && \
!defined(CONFIG_USE_SPIFLASH)

@ -58,9 +58,6 @@
#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
#define CONFIG_ENV_SPI_MAX_HZ 15000000
#ifndef MINIMAL_LOADER
#endif
/* NAND flash */
#ifdef CONFIG_CMD_NAND
#define CONFIG_SYS_MAX_NAND_DEVICE 1

@ -188,9 +188,6 @@
#define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#ifndef CONFIG_SYS_DCACHE_OFF
#endif
#define CONFIG_SYS_FSL_USDHC_NUM 3
/* Framebuffer */

@ -212,9 +212,6 @@
#define CONFIG_CLOCKS
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
#endif
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS

@ -40,12 +40,6 @@
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
/*
* Commands configuration
*/
#ifndef CONFIG_NETSPACE_MINI_V2 /* No USB ports on Network Space v2 Mini */
#endif
/*
* Core clock definition
*/
#define CONFIG_SYS_TCLK 166000000 /* 166MHz */

@ -166,9 +166,6 @@
#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* USDHC2 */
#ifndef CONFIG_SYS_DCACHE_OFF
#endif
#ifdef CONFIG_FSL_QSPI
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0

@ -259,9 +259,6 @@
#define CONFIG_CLOCKS
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
#endif
#ifdef CONFIG_USE_NAND
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS

@ -301,9 +301,6 @@ extern int soft_i2c_gpio_scl;
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
#endif
#ifdef CONFIG_USB_FUNCTION_MASS_STORAGE
#endif
#ifdef CONFIG_USB_KEYBOARD
#define CONFIG_PREBOOT
#endif

@ -109,15 +109,11 @@
#ifdef CONFIG_SYS_I2C_TEGRA
#undef CONFIG_SYS_I2C_TEGRA
#endif
#ifdef CONFIG_CMD_I2C
#endif
/* remove USB */
#ifdef CONFIG_USB_EHCI_TEGRA
#undef CONFIG_USB_EHCI_TEGRA
#endif
#ifdef CONFIG_CMD_USB
#endif
#endif /* CONFIG_SPL_BUILD */

@ -40,10 +40,6 @@
# define CONFIG_BOOTP_MAY_FAIL
#endif
/* SPI */
#ifdef CONFIG_ZYNQ_SPI
#endif
/* QSPI */
#ifdef CONFIG_ZYNQ_QSPI
# define CONFIG_SF_DEFAULT_SPEED 30000000

Loading…
Cancel
Save