Add the AST1040 A0 silicon revision definition and register it in the supported Aspeed silicon revision table.
Signed-off-by: Jamin Lin <[email protected]> --- include/hw/misc/aspeed_scu.h | 1 + hw/misc/aspeed_scu.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h index d003955428..c30940ab76 100644 --- a/include/hw/misc/aspeed_scu.h +++ b/include/hw/misc/aspeed_scu.h @@ -46,6 +46,7 @@ struct AspeedSCUState { #define AST2600_A3_SILICON_REV 0x05030303U #define AST1030_A1_SILICON_REV 0x80010000U #define AST1060_A2_SILICON_REV 0xA0030000U +#define AST1040_A0_SILICON_REV 0x81000000U #define AST2700_A1_SILICON_REV 0x06010103U #define AST2700_A2_SILICON_REV 0x06020103U diff --git a/hw/misc/aspeed_scu.c b/hw/misc/aspeed_scu.c index e4160356e4..507dc4ea9f 100644 --- a/hw/misc/aspeed_scu.c +++ b/hw/misc/aspeed_scu.c @@ -562,6 +562,7 @@ static uint32_t aspeed_silicon_revs[] = { AST1060_A2_SILICON_REV, AST2700_A1_SILICON_REV, AST2700_A2_SILICON_REV, + AST1040_A0_SILICON_REV, }; bool is_supported_silicon_rev(uint32_t silicon_rev) -- 2.43.0
