summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorAndrew Jeffery2021-03-09 12:01:28 +0100
committerCédric Le Goater2021-03-09 12:01:28 +0100
commit6820588efa4fbab9ab6f0457f2c83c3bc7498ae3 (patch)
tree23dcf706629e5af7e7c5c961f4edf92b00a1ecf1 /hw
parenthw/arm: ast2600: Set AST2600_MAX_IRQ to value from datasheet (diff)
downloadqemu-6820588efa4fbab9ab6f0457f2c83c3bc7498ae3.tar.gz
qemu-6820588efa4fbab9ab6f0457f2c83c3bc7498ae3.tar.xz
qemu-6820588efa4fbab9ab6f0457f2c83c3bc7498ae3.zip
hw/arm: ast2600: Correct the iBT interrupt ID
The AST2600 allocates distinct GIC IRQs for the LPC subdevices such as the iBT device. Previously on the AST2400 and AST2500 the LPC subdevices shared a single LPC IRQ. 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-4-andrew@aj.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/arm/aspeed_ast2600.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c
index 1dc56ce478..7635d4bae9 100644
--- a/hw/arm/aspeed_ast2600.c
+++ b/hw/arm/aspeed_ast2600.c
@@ -98,7 +98,7 @@ static const int aspeed_soc_ast2600_irqmap[] = {
[ASPEED_DEV_WDT] = 24,
[ASPEED_DEV_PWM] = 44,
[ASPEED_DEV_LPC] = 35,
- [ASPEED_DEV_IBT] = 35, /* LPC */
+ [ASPEED_DEV_IBT] = 143,
[ASPEED_DEV_I2C] = 110, /* 110 -> 125 */
[ASPEED_DEV_ETH1] = 2,
[ASPEED_DEV_ETH2] = 3,