summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx6/Kconfig
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-01-05 15:08:19 +0100
committerStefano Babic <sbabic@denx.de>2018-01-08 17:33:06 +0100
commit46718353b2fc784fa8f658fd5112272ed921ce9a (patch)
tree1950e36e9f9fcb2de7269fb968067d388e5308bf /arch/arm/mach-imx/mx6/Kconfig
parent23b6a131fdae9fdd995e10cf43eec82536d434a7 (diff)
imx: initialize and use generic timer on i.MX 6UL/ULL
The i.MX 6UL/ULL feature a Cortex-A7 CPU which suppor the ARM generic timer. This change makes use of the ARM generic timer in U-Boot. This is crucial to make the ARM generic timers usable in Linux since timer_init() initalizes the system counter module, which is necessary to use the generic timers CP15 registers. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/mx6/Kconfig')
-rw-r--r--arch/arm/mach-imx/mx6/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
index 8944432044..567a6a6bf5 100644
--- a/arch/arm/mach-imx/mx6/Kconfig
+++ b/arch/arm/mach-imx/mx6/Kconfig
@@ -9,7 +9,7 @@ config MX6_SMP
config MX6
select ARM_ERRATA_743622 if !MX6UL && !MX6ULL
- select GPT_TIMER
+ select GPT_TIMER if !MX6UL && !MX6ULL
bool
default y
imply CMD_FUSE
@@ -54,6 +54,7 @@ config MX6UL
select HAS_CAAM
select SYS_L2CACHE_OFF
select ROM_UNIFIED_SECTIONS
+ select SYSCOUNTER_TIMER
bool
config MX6UL_LITESOM
@@ -76,6 +77,7 @@ config MX6UL_OPOS6UL
config MX6ULL
select SYS_L2CACHE_OFF
select ROM_UNIFIED_SECTIONS
+ select SYSCOUNTER_TIMER
bool
config MX6_DDRCAL