drivers: add GIC support

Hardware / Coreboot - Aaron Durbin [chromium.org] - 28 March 2015 01:05 UTC

The GIC is ARM's "Generic Interrupt Controller". This change essentially implements the rudimentary support for a GICv2 implementation that routes all interrupts to Group1. This should also work for GICv1 with security extensions.

BUG=chrome-os-partner:31945 BRANCH=None TEST=Built and booted kernel using the code.

Change-Id: I9c9202c1309ca9e711e00d742085a6728552c54b

27ce094 drivers: add GIC support
src/drivers/Kconfig | 1 +
src/drivers/Makefile.inc | 1 +
src/drivers/gic/Kconfig | 4 ++
src/drivers/gic/Makefile.inc | 1 +
src/drivers/gic/gic.c | 120 ++++++++++++++++++++++++++++++++++++++++++
src/drivers/gic/gic.h | 78 +++++++++++++++++++++++++++
src/include/gic.h | 40 ++++++++++++++
7 files changed, 245 insertions(+)

Upstream: review.coreboot.org


  • Share