From 0f0228e240c8f2e247092b6c87f3dacef1068aa6 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sun, 19 Jan 2020 18:23:37 +0000 Subject: [PATCH] thermosphere: we expose a GICv2, not a GICv1 --- thermosphere/src/vgic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermosphere/src/vgic.c b/thermosphere/src/vgic.c index c9c3dcb13..f203abcab 100644 --- a/thermosphere/src/vgic.c +++ b/thermosphere/src/vgic.c @@ -334,7 +334,7 @@ static inline u32 vgicGetDistributorTypeRegister(void) static inline u32 vgicGetDistributorImplementerIdentificationRegister(void) { u32 iidr = ((u32)'A' << 24); // Product Id: Atmosphère (?) - iidr |= 1 << 16; // Major revision 1 + iidr |= 2 << 16; // Major revision 2 (GICv2) iidr |= 0 << 12; // Minor revision 0 iidr |= 0x43B; // Implementer: Arm (value copied from physical GICD) return iidr;