Commit dd2dcdeacc for qemu.org
commit dd2dcdeacc0eb3ee88fa70e862ae9c60d81dc1dc
Author: Jamin Lin <jamin_lin@aspeedtech.com>
Date: Wed Oct 28 02:32:02 2026 +0000
hw/arm/aspeed_ast1040: Add OTP as an unimplemented device
The AST1040 provides an OTP controller at 0x74c07000, but the controller
is not modeled yet.
Add the OTP register region as an unimplemented device to reflect the
AST1040 memory map.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20261028023154.48395-9-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/hw/arm/aspeed_ast1040.c b/hw/arm/aspeed_ast1040.c
index 5eb091e675..48eda35ffe 100644
--- a/hw/arm/aspeed_ast1040.c
+++ b/hw/arm/aspeed_ast1040.c
@@ -90,6 +90,7 @@ static const UnimplementedDeviceConfig aspeed_soc_ast1040_unimp_devs[] = {
{ "fmc-filter", "aspeed.fmc-filter", 0x74000400, 0x1000, -1000 },
{ "spi0-filter", "aspeed.spi0-filter", 0x74010400, 0x1000, -1000 },
{ "spi1-filter", "aspeed.spi1-filter", 0x74020400, 0x1000, -1000 },
+ { "otp", "aspeed.otp", 0x74C07000, 0x800, -1000 },
{ }
};