From: Kane-Chen-AS <kane_c...@aspeedtech.com> This patch series introduces a QEMU model for the ASPEED OTP (One-Time Programmable) memory, along with its integration into the Secure Boot Controller (SBC) and supported SoC (AST2600).
The OTP model emulates a simple fuse array used for secure boot or device configuration, implemented with internal buffers; external file/device support not included in this version. It exposes an AddressSpace to support transaction-based access from controllers like the SBC. This series includes: - OTP memory device implementation - SBC integration with command decoding (READ/PROG) - Direct integration in AST2600 SoC without requiring user parameters Any feedback or suggestions are appreciated! --- Kane-Chen-AS (3): hw/misc/aspeed_otp: Add ASPEED OTP memory device model hw/misc/aspeed_sbc: Connect ASPEED OTP memory device to SBC hw/arm: Integrate ASPEED OTP memory support into AST2600 SoCs include/hw/misc/aspeed_otpmem.h | 33 +++++++++ include/hw/misc/aspeed_sbc.h | 5 ++ hw/arm/aspeed_ast2600.c | 2 +- hw/misc/aspeed_otpmem.c | 91 +++++++++++++++++++++++++ hw/misc/aspeed_sbc.c | 115 ++++++++++++++++++++++++++++++++ hw/misc/meson.build | 1 + hw/misc/trace-events | 5 ++ 7 files changed, 251 insertions(+), 1 deletion(-) create mode 100644 include/hw/misc/aspeed_otpmem.h create mode 100644 hw/misc/aspeed_otpmem.c -- 2.43.0