]> git.sur5r.net Git - u-boot/commit
imx: initialize and use generic timer on i.MX 6UL/ULL
authorStefan Agner <stefan.agner@toradex.com>
Fri, 5 Jan 2018 14:08:19 +0000 (15:08 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jan 2018 16:33:06 +0000 (17:33 +0100)
commit46718353b2fc784fa8f658fd5112272ed921ce9a
tree1950e36e9f9fcb2de7269fb968067d388e5308bf
parent23b6a131fdae9fdd995e10cf43eec82536d434a7
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>
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/mx6/Kconfig
include/configs/mx6_common.h