plat/arm/board/arm_fpga: Initialize the System Counter
This sets the frequency of the system counter so that the Delay Timer
driver programs the correct value to CNTCRL. This value depends on
the FPGA image being used, and is 10MHz for the initial test image.
Once configured, the BL31 platform setup sequence then enables the
system counter.

Signed-off-by: Oliver Swede <oli.swede@arm.com>
Change-Id: Ieb036a36fd990f350b5953357424a255b8ac5d5a
1 parent 7ee4db6 commit 2d696d1811a370c742b69cf6442144d906a91d8c
@Oliver Swede Oliver Swede authored on 2 Dec 2019
Showing 2 changed files
View
plat/arm/board/arm_fpga/fpga_bl31_setup.c
View
plat/arm/board/arm_fpga/fpga_def.h