arm-trusted-firmware/include/drivers
Andre Przywara 79d89e3da0 drivers: arm: gicv3: Allow detecting number of cores
A GICv3 interrupt controller will be instantiated for a certain number
of cores. This will result in the respective number of GICR frames. The
last frame will have the "Last" bit set in its GICR_TYPER register.

For platforms with a topology unknown at build time (the Arm FPGAs, for
instance), we need to learn the number of used cores at runtime, to size
the GICR region in the devicetree accordingly.

Add a generic function that iterates over all GICR frames until it
encounters one with the "Last" bit set. It returns the number of cores
the GICv3 has been configured for.

Change-Id: I79f033c50dfc1c275aba7122725868811abcc4f8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-09-29 13:28:25 +01:00
..
allwinner allwinner: Convert AXP803 regulator setup code into a driver 2019-12-13 19:22:34 -06:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm drivers: arm: gicv3: Allow detecting number of cores 2020-09-29 13:28:25 +01:00
auth lib: fconf: Implement a parser to populate CoT 2020-09-15 16:13:26 +01:00
brcm Fix typo in file Header guard 2020-06-22 13:52:08 +05:30
cadence cdns: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
cfi Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
coreboot coreboot: Use generic base address 2020-02-25 09:34:38 +00:00
io drivers: Add support to retrieve plat_toc_flags 2020-04-01 12:36:02 +05:30
marvell plat: marvell: ap807: implement workaround for errata-id 3033912 2020-08-11 12:21:30 +02:00
measured_boot Select the Log Level for the Event Log Dump on Measured Boot at build time. 2020-09-22 14:54:50 +01:00
mentor Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
partition drivers: partition: support different block size 2019-09-18 18:18:20 +08:00
renesas/rcar/console rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
st drivers: st: add missing includes in ETZPC header 2020-09-24 09:32:23 +02:00
synopsys drivers: synopsys: Fix synopsys MMC driver 2019-03-12 14:39:50 +08:00
ti/uart 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
console.h console: Integrate UART base address in generic console_t 2020-02-25 09:34:38 +00:00
console_assertions.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
delay_timer.h delay: correct timeout_init_us() 2019-10-08 11:13:06 +02:00
dw_ufs.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
generic_delay_timer.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
gpio.h Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
mmc.h drivers: mmc: Fix some issues with MMC stack 2019-03-07 11:34:20 +08:00
nand.h Add raw NAND framework 2020-01-20 11:32:59 +01:00
raw_nand.h nand: raw_nand: fix timeout issue in nand_wait_ready 2020-09-24 09:32:23 +02:00
spi_mem.h Add SPI-MEM framework 2020-01-20 11:32:59 +01:00
spi_nand.h Add SPI-NAND framework 2020-01-20 11:32:59 +01:00
spi_nor.h Add SPI-NOR framework 2020-01-20 11:32:59 +01:00
ufs.h Update base code to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00