]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
TI: Drop 'CONFIG_OMAP'
authorTom Rini <trini@konsulko.com>
Sat, 13 May 2017 02:33:16 +0000 (22:33 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 15 May 2017 14:39:56 +0000 (10:39 -0400)
In the two cases in the code where we use CONFIG_OMAP as a useful test
currently we can make use of CONFIG_ARCH_OMAP2PLUS instead.  With that
changed we can drop all defines of CONFIG_OMAP.  While in here,
CONFIG_OMAP3430 is only defined and then never used, so drop.

Signed-off-by: Tom Rini <trini@konsulko.com>
20 files changed:
arch/arm/include/asm/spl.h
drivers/serial/ns16550.c
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/bur_am335x_common.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/kc1.h
include/configs/mcx.h
include/configs/nokia_rx51.h
include/configs/omap3_evm.h
include/configs/siemens-am33x-common.h
include/configs/sniper.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_armv7_omap.h
include/configs/tricorder.h
scripts/config_whitelist.txt

index a0bda28104a95b021a9a8a345164201d9f2dedcc..5d7f7e6ec562de02ed13440f54874269cd531e1b 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef        _ASM_SPL_H_
 #define        _ASM_SPL_H_
 
-#if defined(CONFIG_OMAP) \
+#if defined(CONFIG_ARCH_OMAP2PLUS) \
        || defined(CONFIG_EXYNOS4) || defined(CONFIG_EXYNOS5) \
        || defined(CONFIG_EXYNOS4210)
 /* Platform-specific defines */
index ca55df78b7e455531aced76eca2498d2b4fa41ed..0eb7c025618bc3d3f0f3a098017913bd133abf0f 100644 (file)
@@ -175,21 +175,17 @@ void NS16550_init(NS16550_t com_port, int baud_divisor)
                ;
 
        serial_out(CONFIG_SYS_NS16550_IER, &com_port->ier);
-#if defined(CONFIG_OMAP) || defined(CONFIG_AM33XX) || \
-                       defined(CONFIG_TI81XX) || defined(CONFIG_AM43XX)
+#if defined(CONFIG_ARCH_OMAP2PLUS)
        serial_out(0x7, &com_port->mdr1);       /* mode select reset TL16C750*/
 #endif
        serial_out(UART_MCRVAL, &com_port->mcr);
        serial_out(ns16550_getfcr(com_port), &com_port->fcr);
        if (baud_divisor != -1)
                NS16550_setbrg(com_port, baud_divisor);
-#if defined(CONFIG_OMAP) || \
-       defined(CONFIG_AM33XX) || defined(CONFIG_SOC_DA8XX) || \
-       defined(CONFIG_TI81XX) || defined(CONFIG_AM43XX)
-
+#if defined(CONFIG_ARCH_OMAP2PLUS) || defined(CONFIG_SOC_DA8XX)
        /* /16 is proper to hit 115200 with 48MHz */
        serial_out(0, &com_port->mdr1);
-#endif /* CONFIG_OMAP */
+#endif
 #if defined(CONFIG_SOC_KEYSTONE)
        serial_out(UART_REG_VAL_PWREMU_MGMT_UART_ENABLE, &com_port->regC);
 #endif
index 8be49af9f11fde4c99c2f1b191c799c9429dd306..19d1bc1951137288ed6d11d62bf5e1256c660572 100644 (file)
@@ -16,7 +16,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP            1       /* in a TI OMAP core */
 #define CONFIG_OMAP3_AM3517CRANE       1       /* working with CRANEBOARD */
 
 #define CONFIG_EMIF4   /* The chip has EMIF4 controller */
index 7490f2b5eaf8af30f762eff5560273687bdf4c7b..27d64eaf8a540f699d3cce6c74ddb35405fb56cb 100644 (file)
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-/* High Level Configuration Options */
-
-#define CONFIG_OMAP
-
 #define CONFIG_NR_DRAM_BANKS   2       /* CS1 may or may not be populated */
 
 #define CONFIG_EMIF4   /* The chip has EMIF4 controller */
index 3742514a6e667464bef509132c68afb2048a88d9..4f57241e1feb282d8e9c522d0e34ba6e74e7a1ac 100644 (file)
@@ -13,7 +13,6 @@
 #define __BUR_AM335X_COMMON_H__
 /* ------------------------------------------------------------------------- */
 #define CONFIG_AM33XX
-#define CONFIG_OMAP
 #define CONFIG_MAX_RAM_BANK_SIZE       (1024 << 20)    /* 1GB */
 
 /* Timer information */
index dfdad6c3d0987cfb437663c8a57cafe95b040e5a..2d5b6f21d38aee126ae58d88621c5bd4145d6de0 100644 (file)
@@ -22,7 +22,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP    /* in a TI OMAP core */
 #define CONFIG_OMAP_GPIO
 #define CONFIG_CM_T3X  /* working with CM-T35 and CM-T3730 */
 
index e12dc020ff7b6e221b95e2374ba937611e637b7f..8093e7fc7736dc92133a7f8a8882826d17bbdbc0 100644 (file)
@@ -13,7 +13,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP    /* in a TI OMAP core */
 #define CONFIG_CM_T3517        /* working with CM-T3517 */
 
 #define CONFIG_SYS_TEXT_BASE   0x80008000
index 85bc0e3fb77fc1b18602f4a342cf558ee4cdf911..939bd6c8129e40fe635203dec918764bb29ce5d6 100644 (file)
@@ -26,8 +26,6 @@
 /*
  * Platform
  */
-
-#define CONFIG_OMAP
 #define CONFIG_OMAP4430
 
 /*
index e4f2a02dcf2d28ecfe8208cd40122fc248a2578c..44d3fa3c10c6b1fe4aac48ac2db477ea7894a926 100644 (file)
@@ -12,7 +12,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP                    /* in a TI OMAP core */
 #define CONFIG_OMAP3_MCX               /* working with mcx */
 #define CONFIG_OMAP_GPIO
 
index f51bfc34c1b8e108865ab41a67e141f24ee50afe..99d3189b3fa92ab02a33c6f543e6a0321b3bee4c 100644 (file)
@@ -22,9 +22,6 @@
 /*
  * High Level Configuration Options
  */
-
-#define CONFIG_OMAP                    /* in a TI OMAP core */
-#define CONFIG_OMAP3430                        /* which is in a 3430 */
 #define CONFIG_OMAP3_RX51              /* working with RX51 */
 #define CONFIG_SYS_L2CACHE_OFF         /* pretend there is no L2 CACHE */
 
index bf5b2f51396f317931eb20a10c997e17e9cb521b..c4cac83bb8b0dba101d2030400c32196f2ca43a0 100644 (file)
@@ -83,7 +83,6 @@
 /*
  * High level configuration options
  */
-#define CONFIG_OMAP                    /* This is TI OMAP core */
 #define CONFIG_OMAP_GPIO
 
 #define CONFIG_SDRC                    /* The chip has SDRC controller */
index 508b84947231048cbb80c8c1d4d4fd37750c7e88..68278c06cc7a22100db4ada0aa88aff5f3f5ab94 100644 (file)
@@ -15,7 +15,6 @@
 #define __CONFIG_SIEMENS_AM33X_COMMON_H
 
 #define CONFIG_AM33XX
-#define CONFIG_OMAP
 
 #include <asm/arch/omap.h>
 
index 5214827ad930a3d706c1b71c20fb408715ef504b..4f60bf753b264dbcc6c2f22adfbb915a411f88bc 100644 (file)
 
 #define CONFIG_ARM_ARCH_CP15_ERRATA
 
-/*
- * Platform
- */
-
-#define CONFIG_OMAP
-
 /*
  * Board
  */
index 0bdf52eb684a775987eb21da5251231cf43c7d34..09a4f2580128516790409b92ef07aa8446a1a0e4 100644 (file)
@@ -13,7 +13,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP            /* in a TI OMAP core */
 #define CONFIG_OMAP_GPIO
 
 #define CONFIG_SYS_TEXT_BASE 0x80008000
index 9bb4a1a8c0c5d8403d145ad44e10b8f59dc94e79..24144d422e06c6ec7813b3a136680e7b1a7de11c 100644 (file)
@@ -16,8 +16,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_OMAP                    /* in a TI OMAP core */
-
 #define CONFIG_OMAP_GPIO
 
 #define CONFIG_SDRC                    /* Has an SDRC controller */
index baf818ba1a6776db9174b8c9b4771795cf01ae6d..44650f3e8d206ce7b04675dc21cf171772964d9c 100644 (file)
@@ -18,7 +18,6 @@
 
 #define CONFIG_TI81XX
 #define CONFIG_TI814X
-#define CONFIG_OMAP
 
 #include <asm/arch/omap.h>
 
index b7ec200e06846a74c1671e16987aee81697e0520..4233badd6202a49c48a94de56841ec8a38d89a52 100644 (file)
@@ -12,7 +12,6 @@
 
 #define CONFIG_TI81XX
 #define CONFIG_TI816X
-#define CONFIG_OMAP
 
 #define CONFIG_ARCH_CPU_INIT
 
index de14b8575addd01dd1d3cb67a330ecb7a409bec5..b7ca9059fc0c43ec17b7e45bf821dcc7a044ea24 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef __CONFIG_TI_ARMV7_OMAP_H__
 #define __CONFIG_TI_ARMV7_OMAP_H__
 
-/* Common defines for all OMAP architecture based SoCs */
-#define CONFIG_OMAP
-
 /* I2C IP block */
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
index 9741ca5fc992bbec24445593147536109c527a81..9b46386c1f6aea32b7cdb28d9509baaec45e693c 100644 (file)
@@ -16,9 +16,6 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-/* High Level Configuration Options */
-#define CONFIG_OMAP                    /* in a TI OMAP core */
-
 #define CONFIG_MACH_TYPE               MACH_TYPE_TRICORDER
 /*
  * 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
index 7646bb68420c31e9fe4a7fdadd8bc697a73df80e..5febd2a1d7a4c3f3261680be2d9e6056ad422ada 100644 (file)
@@ -1980,8 +1980,6 @@ CONFIG_OF_SPI
 CONFIG_OF_SPI_FLASH
 CONFIG_OF_STDOUT_PATH
 CONFIG_OF_SUPPORT_OLD_DEVICE_TREES
-CONFIG_OMAP
-CONFIG_OMAP3430
 CONFIG_OMAP3_AM3517CRANE
 CONFIG_OMAP3_DEVKIT8000
 CONFIG_OMAP3_EVM