Skip to content
Snippets Groups Projects
Commit b151de69 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Cédric Le Goater
Browse files

hw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet


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: default avatarAndrew Jeffery <andrew@aj.id.au>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
Message-Id: <20210302014317.915120-3-andrew@aj.id.au>
Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
parent 957ad79f
No related branches found
No related tags found
No related merge requests found
......@@ -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[] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment