mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-04 05:30:31 -07:00
aspeed: Fix maximum number of spi controller
Commit6de4aa8dc5("hw/arm/aspeed_ast27x0: Add SoC Support for AST2700 A1") extends ast2700a1 spis_num to 3, but ASPEED_SPIS_NUM defines the maximum number of spi controller to 2, result in ehci[0] is being overwritten in runtime. Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Fixes:6de4aa8dc5("hw/arm/aspeed_ast27x0: Add SoC Support for AST2700 A1") Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250317065938.1902272-1-troy_lee@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
527dede083
commit
d4dfb4ffd4
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
|||
#include "hw/char/serial-mm.h"
|
||||
#include "hw/intc/arm_gicv3.h"
|
||||
|
||||
#define ASPEED_SPIS_NUM 2
|
||||
#define ASPEED_SPIS_NUM 3
|
||||
#define ASPEED_EHCIS_NUM 2
|
||||
#define ASPEED_WDTS_NUM 8
|
||||
#define ASPEED_CPUS_NUM 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue