[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/7] hw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet
From: |
Cédric Le Goater |
Subject: |
[PULL 4/7] hw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet |
Date: |
Tue, 9 Mar 2021 14:16:38 +0100 |
From: Andrew Jeffery <andrew@aj.id.au>
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c
index 3d9e78fcc6b7..1dc56ce4781c 100644
--- a/hw/arm/aspeed_ast2600.c
+++ b/hw/arm/aspeed_ast2600.c
@@ -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[] = {
--
2.26.2
- [PULL 0/7] aspeed queue, Cédric Le Goater, 2021/03/09
- [PULL 1/7] arm/ast2600: Fix SMP booting with -kernel, Cédric Le Goater, 2021/03/09
- [PULL 3/7] hw/arm: ast2600: Force a multiple of 32 of IRQs for the GIC, Cédric Le Goater, 2021/03/09
- [PULL 6/7] hw/misc: Add a basic Aspeed LPC controller model, Cédric Le Goater, 2021/03/09
- [PULL 7/7] hw/misc: Model KCS devices in the Aspeed LPC controller, Cédric Le Goater, 2021/03/09
- [PULL 2/7] hw/arm/aspeed: Fix location of firmware images in documentation, Cédric Le Goater, 2021/03/09
- [PULL 5/7] hw/arm: ast2600: Correct the iBT interrupt ID, Cédric Le Goater, 2021/03/09
- [PULL 4/7] hw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet,
Cédric Le Goater <=
- Re: [PULL 0/7] aspeed queue, Peter Maydell, 2021/03/11