arm-trusted-firmware/include
Sandrine Bailleux a5355358f3 Define frequency of system counter in platform code
BL3-1 architecture setup code programs the system counter frequency
into the CNTFRQ_EL0 register. This frequency is defined by the
platform, though. This patch introduces a new platform hook that
the architecture setup code can call to retrieve this information.
In the ARM FVP port, this returns the first entry of the frequency
modes table from the memory mapped generic timer.

All system counter setup code has been removed from BL1 as some
platforms may not have initialized the system counters at this stage.
The platform specific settings done exclusively in BL1 have been moved
to BL3-1. In the ARM FVP port, this consists in enabling and
initializing the System level generic timer. Also, the frequency change
request in the counter control register has been set to 0 to make it
explicit it's using the base frequency. The CNTCR_FCREQ() macro has been
fixed in this context to give an entry number rather than a bitmask.

In future, when support for firmware update is implemented, there
is a case where BL1 platform specific code will need to program
the counter frequency. This should be implemented at that time.

This patch also updates the relevant documentation.
2014-04-07 17:43:33 +01:00
..
aarch64 Define frequency of system counter in platform code 2014-04-07 17:43:33 +01:00
stdlib Add Firmware Image Package creation tool 2014-02-17 18:51:43 +00:00
asm_macros.S Add exception vector guards 2014-02-20 19:06:34 +00:00
bakery_lock.h Fix assert in bakery_lock_release() 2014-03-05 16:21:14 +00:00
bl1.h Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
bl2.h Rework BL2 to BL3-1 hand over interface 2014-02-20 19:06:34 +00:00
bl31.h Implement late binding for runtime hooks 2014-02-26 19:53:48 +00:00
bl32.h Add Test Secure Payload (BL3-2) image 2014-02-20 19:06:34 +00:00
bl_common.h bl_common: add image_size() 2014-03-05 16:21:14 +00:00
cm_macros.S Introduce new exception handling framework 2014-02-17 18:51:44 +00:00
context.h Add power management support in the SPD 2014-02-20 19:06:34 +00:00
context_mgmt.h Add power management support in the SPD 2014-02-20 19:06:34 +00:00
debug.h Introduce new exception handling framework 2014-02-17 18:51:44 +00:00
firmware_image_package.h Add Firmware Image Package creation tool 2014-02-17 18:51:43 +00:00
io_storage.h Add Firmware Image Package (FIP) driver 2014-02-17 18:51:44 +00:00
mmio.h Probe for GICv3 re-distributors on core bring-up 2014-01-17 10:27:53 +00:00
pm.h Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
psci.h Implement late binding for runtime hooks 2014-02-26 19:53:48 +00:00
runtime_svc.h Add support for handling runtime service requests 2014-02-17 18:51:44 +00:00
semihosting.h Fix semihosting with latest toolchain 2014-02-20 19:06:34 +00:00
spinlock.h Update year in copyright text to 2014 2014-01-17 10:27:53 +00:00
tsp.h Add Test Secure Payload (BL3-2) image 2014-02-20 19:06:34 +00:00