omap4: Drop redundant CONFIG_OMAP4430 symbol
authorTom Rini <trini@konsulko.com>
Sat, 13 May 2017 02:33:19 +0000 (22:33 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 15 May 2017 14:39:59 +0000 (10:39 -0400)
While there are a few different OMAP4 SoCs, today we always set
CONFIG_OMAP4430 and CONFIG_OMAP44XX.  Convert the few test of
CONFIG_OMAP4430 to CONFIG_OMAP44XX.

Cc: Marek Vasut <marex@denx.de>
Cc: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/usb/musb-new/linux-compat.h
drivers/usb/musb-new/omap2430.c
drivers/usb/musb/omap3.c
include/configs/kc1.h
include/configs/ti_omap4_common.h
scripts/config_whitelist.txt

index 92449775799f2e5a2a1f3e9119a657e337011969..4dae83ed6850350470a334f2bbaf2dd5dd093f12 100644 (file)
@@ -30,7 +30,7 @@
 #define CONFIG_SOC_OMAP3430
 #endif
 
-#ifdef CONFIG_OMAP4430
+#ifdef CONFIG_OMAP44XX
 #define CONFIG_ARCH_OMAP4
 #endif
 
index 684ad9539af5ca06b03bb376ecbb7ed23a73d134..ba22dfe6cb092b832b5ce23f2f1061b69d738f55 100644 (file)
@@ -441,7 +441,7 @@ static int omap2430_musb_enable(struct musb *musb)
        twl6030_usb_device_settings();
 #endif
 
-#ifdef CONFIG_OMAP4430
+#ifdef CONFIG_OMAP44XX
        u32 *usbotghs_control = (u32 *)((*ctrl)->control_usbotghs_ctrl);
        *usbotghs_control = USBOTGHS_CONTROL_AVALID |
                USBOTGHS_CONTROL_VBUSVALID | USBOTGHS_CONTROL_IDDIG;
index 99b4291a27d8edbbfd1ecc6ef2cf36fc7abc6af6..57889ef0e7d23c9ab61a800f6b5eba1730b45499 100644 (file)
@@ -55,7 +55,7 @@ static struct omap3_otg_regs *otg;
 #define OMAP3_OTG_SYSSTATUS_RESETDONE                  0x0001
 
 /* OMAP4430 has an internal PHY, use it */
-#ifdef CONFIG_OMAP4430
+#ifdef CONFIG_OMAP44XX
 #define OMAP3_OTG_INTERFSEL_OMAP                       0x0000
 #else
 #define OMAP3_OTG_INTERFSEL_OMAP                       0x0001
@@ -122,7 +122,7 @@ int musb_platform_init(void)
                musb_cfg.extvbus = omap3_evm_need_extvbus();
 #endif
 
-#ifdef CONFIG_OMAP4430
+#ifdef CONFIG_OMAP44XX
                u32 *usbotghs_control =
                        (u32 *)((*ctrl)->control_usbotghs_ctrl);
                *usbotghs_control = 0x15;
index 939bd6c8129e40fe635203dec918764bb29ce5d6..39c750c15e01a227c2b49478b8ed58dcf9727700 100644 (file)
 #define CONFIG_SYS_L2_PL310            1
 #define CONFIG_SYS_PL310_BASE          0x48242000
 
-/*
- * Platform
- */
-#define CONFIG_OMAP4430
-
 /*
  * Board
  */
index b85db500b574513752d29f82613fc4de805c5e50..1a6551e24d20bde8c89a56e377d04b034df5e86e 100644 (file)
 #ifndef __CONFIG_TI_OMAP4_COMMON_H
 #define __CONFIG_TI_OMAP4_COMMON_H
 
-/*
- * High Level Configuration Options
- */
-#define CONFIG_OMAP4430                1       /* which is in a 4430 */
 #define CONFIG_MISC_INIT_R
 
 #ifndef CONFIG_SYS_L2CACHE_OFF
index 4382b6aa1a1f6d477d7f9029adb9f43ccbb30b92..93ee3035d183e7dcfbd7c90d1f6d9928acffd862 100644 (file)
@@ -1992,7 +1992,6 @@ CONFIG_OMAP3_MICRON_DDR
 CONFIG_OMAP3_RX51
 CONFIG_OMAP3_SPI_D0_D1_SWAPPED
 CONFIG_OMAP3_ZOOM1
-CONFIG_OMAP4430
 CONFIG_OMAP_EHCI_PHY1_RESET_GPIO
 CONFIG_OMAP_EHCI_PHY2_RESET_GPIO
 CONFIG_OMAP_EHCI_PHY3_RESET_GPIO