]> git.ipfire.org Git - thirdparty/qemu.git/commit
aspeed: Fix maximum number of spi controller
authorTroy Lee <troy_lee@aspeedtech.com>
Mon, 17 Mar 2025 06:59:37 +0000 (14:59 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 23 Mar 2025 17:42:16 +0000 (18:42 +0100)
commitd4dfb4ffd4008d0d7d3bc9b1dca3e5c5afcc4336
tree0698706bb126f873d210e3750490639e76d91bbc
parent527dede083d3e3e5a13ee996776926e0a0c4e258
aspeed: Fix maximum number of spi controller

Commit 6de4aa8dc544 ("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: 6de4aa8dc544 ("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>
include/hw/arm/aspeed_soc.h