diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2015-03-17 14:54:01 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2015-06-18 16:06:32 +0100 |
commit | b49b3221900e4bc1d223227273815492da599f20 (patch) | |
tree | 9a932bf51a722da81e23d4128658f8ea4d0ea741 /include | |
parent | cc58b2d0f5698560d9f8c26e136fd0afc1d5d71b (diff) |
FVP: Add SP804 delay timer
Add SP804 delay timer support to the FVP BSP.
This commit simply provides the 3 constants needed by the SP804
delay timer driver and calls sp804_timer_init() in
bl2_platform_setup(). The BSP does not currently use the delay
timer functions.
Note that the FVP SP804 is a normal world accessible peripheral
and should not be used by the secure world after transition
to the normal world.
Change-Id: I5f91d2ac9eb336fd81943b3bb388860dfb5f2b39
Co-authored-by: Dan Handley <dan.handley@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/board/common/v2m_def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/plat/arm/board/common/v2m_def.h b/include/plat/arm/board/common/v2m_def.h index c16e9bc2..7a4ef5ad 100644 --- a/include/plat/arm/board/common/v2m_def.h +++ b/include/plat/arm/board/common/v2m_def.h @@ -105,6 +105,9 @@ #define V2M_IOFPGA_UART2_CLK_IN_HZ 24000000 #define V2M_IOFPGA_UART3_CLK_IN_HZ 24000000 +/* SP804 timer related constants */ +#define V2M_SP804_TIMER0_BASE 0x1C110000 +#define V2M_SP804_TIMER1_BASE 0x1C120000 #define V2M_MAP_FLASH0 MAP_REGION_FLAT(V2M_FLASH0_BASE,\ V2M_FLASH0_SIZE, \ |