[PATCH 14/38] Convert CONFIG_IODELAY_RECALIBRATION to Kconfig

Tom Rini
2022-11-19T23:48:48Z

This converts the following to Kconfig:
CONFIG_IODELAY_RECALIBRATION

Signed-off-by: Tom Rini <trini@konsulko.com>
---
arch/arm/mach-omap2/omap5/Kconfig | 4 ++++
include/configs/am57xx_evm.h | 2 --
include/configs/dra7xx_evm.h | 2 --
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-omap2/omap5/Kconfig b/arch/arm/mach-omap2/omap5/Kconfig
index 18a66764224d..0787d192b696 100644
--- a/arch/arm/mach-omap2/omap5/Kconfig
+++ b/arch/arm/mach-omap2/omap5/Kconfig
@@ -1,7 +1,11 @@
if OMAP54XX

+config IODELAY_RECALIBRATION
+ bool
+
config DRA7XX
bool
+ select IODELAY_RECALIBRATION
select SYS_OMAP_ABE_SYSCK
help
DRA7xx is an OMAP based SOC with Dual Core A-15s.
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 340a8ce6dc88..dacfd41ccedf 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -14,8 +14,6 @@
#include <environment/ti/dfu.h>
#include <linux/sizes.h>

-#define CONFIG_IODELAY_RECALIBRATION
-
#define CFG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
#define CFG_SYS_NS16550_COM2 UART2_BASE /* UART2 */
#define CFG_SYS_NS16550_COM3 UART3_BASE /* UART3 */
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 8217712e3904..ac3fcacc68ed 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -13,8 +13,6 @@

#include <environment/ti/dfu.h>

-#define CONFIG_IODELAY_RECALIBRATION
-
#define CONFIG_VERY_BIG_RAM
#define CONFIG_MAX_MEM_MAPPED 0x80000000

--
2.25.1