imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig
authorStefan Agner <stefan.agner@toradex.com>
Fri, 5 Jan 2018 14:08:17 +0000 (15:08 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jan 2018 16:33:06 +0000 (17:33 +0100)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/mx7/Kconfig
include/configs/mx7_common.h
scripts/config_whitelist.txt

index e687048..6538191 100644 (file)
@@ -7,6 +7,9 @@ config IMX_CONFIG
 config ROM_UNIFIED_SECTIONS
        bool
 
+config SYSCOUNTER_TIMER
+       bool
+
 config IMX_RDC
        bool "i.MX Resource domain controller driver"
        depends on ARCH_MX6 || ARCH_MX7
index 4f8b4e1..2a3db86 100644 (file)
@@ -3,6 +3,7 @@ if ARCH_MX7
 config MX7
        bool
        select ROM_UNIFIED_SECTIONS
+       select SYSCOUNTER_TIMER
        select CPU_V7_HAS_VIRT
        select CPU_V7_HAS_NONSEC
        select ARCH_SUPPORT_PSCI
index 16e4d95..1785040 100644 (file)
@@ -19,7 +19,6 @@
 
 /* Timer settings */
 #define CONFIG_MXC_GPT_HCLK
-#define CONFIG_SYSCOUNTER_TIMER
 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
 #define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK
 #define CONFIG_SYS_FSL_CLK
index c82065e..a27dc4f 100644 (file)
@@ -2220,7 +2220,6 @@ CONFIG_SUPPORT_RAW_INITRD
 CONFIG_SUPPORT_VFAT
 CONFIG_SUVD3
 CONFIG_SXNI855T
-CONFIG_SYSCOUNTER_TIMER
 CONFIG_SYSFLAGS_ADDR
 CONFIG_SYSFS
 CONFIG_SYSMGR_ISWGRP_HANDOFF