Convert CONFIG_SYS_OMAP_ABE_SYSCK to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 16 Nov 2022 18:10:32 +0000 (13:10 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:06:07 +0000 (16:06 -0500)
This converts the following to Kconfig:
   CONFIG_SYS_OMAP_ABE_SYSCK

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/omap5/Kconfig
include/configs/am57xx_evm.h
include/configs/dra7xx_evm.h

index 78317e4..3bf9720 100644 (file)
@@ -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
index 4c2f990..18a6676 100644 (file)
@@ -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.
 
index c3b6a3f..84555f3 100644 (file)
@@ -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" \
index e1d18a7..bb335a0 100644 (file)
@@ -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" \