]> Git Repo - J-u-boot.git/commit
rockchip: rk3368: spl: define COUNTER_FREQUENCY to 24MHz
authorPhilipp Tomsich <[email protected]>
Thu, 22 Jun 2017 21:31:55 +0000 (23:31 +0200)
committerPhilipp Tomsich <[email protected]>
Sun, 13 Aug 2017 15:12:22 +0000 (17:12 +0200)
commite78b04f9d52642a7284c7df7dbe46651af0c4065
tree7023bb10481ca30ad7f4092206c1265e4db7a0f9
parent525a8c8f2cccd1118b85061c44ac1dc11847c99c
rockchip: rk3368: spl: define COUNTER_FREQUENCY to 24MHz

The BootROM of the RK3368 Boot ROM does not initialise cntfrq_el0.
This change defines COUNTER_FREQUENCY, which is used by the AArch64 init
code in arch/arm/cpu/armv8/start.S to set up cntfrq_el0.

If the counter-frequency is not correctly set up, the calculation of
delays using the ARMv8 generic timer can not work correctly.

Signed-off-by: Philipp Tomsich <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
include/configs/rk3368_common.h
This page took 0.036092 seconds and 4 git commands to generate.