]> git.baikalelectronics.ru Git - uboot.git/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)
commit9d114fe76dddf50784c0e235e992d531a6d924e5
tree1950e36e9f9fcb2de7269fb968067d388e5308bf
parentc2c396ef1af744c79923ec52eb0b6cf4be50bd95
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