diff mbox series

[08/17] Convert CONFIG_SYS_OMAP_ABE_SYSCK to Kconfig

Message ID 20221116181041.3657611-8-trini@konsulko.com
State Accepted
Commit 789bb9537a4427798e3e28ff0c6be2c27454315f
Delegated to: Tom Rini
Headers show
Series [01/17] global: Move remaining CONFIG_SYS_NOR_* to CFG_SYS_NOR_* | expand

Commit Message

Tom Rini Nov. 16, 2022, 6:10 p.m. UTC
This converts the following to Kconfig:
   CONFIG_SYS_OMAP_ABE_SYSCK

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

Comments

Simon Glass Nov. 16, 2022, 11:51 p.m. UTC | #1
On Wed, 16 Nov 2022 at 11:11, Tom Rini <trini@konsulko.com> wrote:
>
> This converts the following to Kconfig:
>    CONFIG_SYS_OMAP_ABE_SYSCK
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  arch/arm/mach-omap2/Kconfig       | 3 +++
>  arch/arm/mach-omap2/omap5/Kconfig | 1 +
>  include/configs/am57xx_evm.h      | 2 --
>  include/configs/dra7xx_evm.h      | 2 --
>  4 files changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 78317e474dbf..3bf972052260 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -144,6 +144,9 @@  config SYS_MPUCLK
 	help
 	  Defines the MPU clock speed (in MHz).
 
+config SYS_OMAP_ABE_SYSCK
+	bool
+
 config TI_SECURE_EMIF_REGION_START
 	hex "Reserved EMIF region start address"
 	depends on TI_SECURE_DEVICE
diff --git a/arch/arm/mach-omap2/omap5/Kconfig b/arch/arm/mach-omap2/omap5/Kconfig
index 4c2f990b2878..18a66764224d 100644
--- a/arch/arm/mach-omap2/omap5/Kconfig
+++ b/arch/arm/mach-omap2/omap5/Kconfig
@@ -2,6 +2,7 @@  if OMAP54XX
 
 config DRA7XX
 	bool
+	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 c3b6a3fbda2c..84555f3b13dc 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -20,8 +20,6 @@ 
 #define CFG_SYS_NS16550_COM2		UART2_BASE	/* UART2 */
 #define CFG_SYS_NS16550_COM3		UART3_BASE	/* UART3 */
 
-#define CONFIG_SYS_OMAP_ABE_SYSCK
-
 #ifndef CONFIG_SPL_BUILD
 #define DFUARGS \
 	"dfu_bufsiz=0x10000\0" \
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index e1d18a778306..bb335a0a473c 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -31,8 +31,6 @@ 
 #define CFG_SYS_NS16550_COM2		UART2_BASE	/* UART2 */
 #define CFG_SYS_NS16550_COM3		UART3_BASE	/* UART3 */
 
-#define CONFIG_SYS_OMAP_ABE_SYSCK
-
 #ifndef CONFIG_SPL_BUILD
 #define DFUARGS \
 	"dfu_bufsiz=0x10000\0" \