]> git.sur5r.net Git - u-boot/commitdiff
arm: dra7xx: move CONFIG_DRA7XX to Kconfig
authorUri Mashiach <uri.mashiach@compulab.co.il>
Thu, 23 Feb 2017 13:39:35 +0000 (15:39 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:38:35 +0000 (11:38 -0400)
The symbol CONFIG_DRA7XX is needed for Kconfig conditions.

Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/omap5/Kconfig
include/configs/am57xx_evm.h
include/configs/cl-som-am57x.h
include/configs/dra7xx_evm.h
scripts/config_whitelist.txt

index 4041adc9742eca1d367eaeb0987b504ebb44870a..c89c43830587b31963e28fd48d570123a951e763 100644 (file)
@@ -1,11 +1,17 @@
 if OMAP54XX
 
+config DRA7XX
+       bool
+       help
+         DRA7xx is an OMAP based SOC with Dual Core A-15s.
+
 choice
        prompt "OMAP5 board select"
        optional
 
 config TARGET_CL_SOM_AM57X
        bool "CompuLab CL-SOM-AM57x"
+       select DRA7XX
 
 config TARGET_CM_T54
        bool "CompuLab CM-T54"
@@ -16,12 +22,14 @@ config TARGET_OMAP5_UEVM
 config TARGET_DRA7XX_EVM
        bool "TI DRA7XX"
        select BOARD_LATE_INIT
+       select DRA7XX
        select TI_I2C_BOARD_DETECT
        select PHYS_64BIT
 
 config TARGET_AM57XX_EVM
        bool "AM57XX"
        select BOARD_LATE_INIT
+       select DRA7XX
        select TI_I2C_BOARD_DETECT
 
 endchoice
index dc7a370208670718631c4ad887a93f8fa80b5908..6962039c3ac62bc2128107859d06260a2fcc7a67 100644 (file)
@@ -14,8 +14,6 @@
 
 #include <environment/ti/dfu.h>
 
-#define CONFIG_DRA7XX
-
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_IODELAY_RECALIBRATION
 #endif
index a4950f39e3a803e2e4f513c8c3153e2294d3c961..d9965d667c9b8d751a536731a604caaef4196f52 100644 (file)
@@ -11,8 +11,6 @@
 #ifndef __CONFIG_CL_SOM_AM57X_H
 #define __CONFIG_CL_SOM_AM57X_H
 
-#define CONFIG_DRA7XX
-
 #define CONFIG_NR_DRAM_BANKS           2
 
 #define CONSOLEDEV                     "ttyO2"
index 7d6f7ff2788cc6b4f4654478820bb9665f766a6b..a9ca0231f584518832c43b6796313ee8790c68b0 100644 (file)
@@ -14,8 +14,6 @@
 
 #include <environment/ti/dfu.h>
 
-#define CONFIG_DRA7XX
-
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_IODELAY_RECALIBRATION
 #endif
index ed349b9e6b2f69a0d8df4f62cfc90977970f19de..1704f9c09a460ab94f3b98d9f9e4ad5322adccd0 100644 (file)
@@ -664,7 +664,6 @@ CONFIG_DNET_AUTONEG_TIMEOUT
 CONFIG_DP_DDR_CTRL
 CONFIG_DP_DDR_DIMM_SLOTS_PER_CTLR
 CONFIG_DP_DDR_NUM_CTRLS
-CONFIG_DRA7XX
 CONFIG_DRAM_2G
 CONFIG_DRAM_TIMINGS_
 CONFIG_DRIVER_AT91EMAC