]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 9 Mar 2021 11:01:28 +0000 (12:01 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 9 Mar 2021 11:01:28 +0000 (12:01 +0100)
The datasheet says we have 197 IRQs allocated, and we need more than 128
to describe IRQs from LPC devices. Raise the value now to allow
modelling of the LPC devices.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20210302014317.915120-3-andrew@aj.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast2600.c

index 3d9e78fcc6b7dbb8407cfc9bb258fd117b8ad9b3..1dc56ce4781ce71b9a2f32f0aa6be9eb123e0c9a 100644 (file)
@@ -65,7 +65,7 @@ static const hwaddr aspeed_soc_ast2600_memmap[] = {
 
 #define ASPEED_A7MPCORE_ADDR 0x40460000
 
-#define AST2600_MAX_IRQ 128
+#define AST2600_MAX_IRQ 197
 
 /* Shared Peripheral Interrupt values below are offset by -32 from datasheet */
 static const int aspeed_soc_ast2600_irqmap[] = {