diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-03-23 23:27:45 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-04 20:01:57 -0600 |
commit | 88cb1a9eb0dc2144d1fe587246820f2d6865b757 (patch) | |
tree | 0aa08ba859b48886560f90c3724dba964c4e3aa8 /include/configs/M5329EVB.h | |
parent | cc232a9d07e7c4d2b9e217b182c857a23a672f0c (diff) |
rockchip: spl: RK3399: add COUNTER_FREQUENCY define to rk3399_common.h
The BootROM of the RK3399 SoC does not initialise the cntfrq_el0 (which
holds the value 0 (zero) on entry into the SPL. This causes the timebase
for U-Boot not to advance (and will cause a hang where a timeout would
be expected... e.g. if something goes wrong during MMC/SD card startup).
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 necessary).
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/M5329EVB.h')
0 files changed, 0 insertions, 0 deletions