}
static uint32_t aspeed_silicon_revs[] = {
- AST2400_A0_SILICON_REV,
AST2400_A1_SILICON_REV,
- AST2500_A0_SILICON_REV,
AST2500_A1_SILICON_REV,
- AST2600_A0_SILICON_REV,
- AST2600_A1_SILICON_REV,
- AST2600_A2_SILICON_REV,
AST2600_A3_SILICON_REV,
- AST1030_A0_SILICON_REV,
AST1030_A1_SILICON_REV,
AST1060_A2_SILICON_REV,
- AST2700_A0_SILICON_REV,
- AST2720_A0_SILICON_REV,
- AST2750_A0_SILICON_REV,
AST2700_A1_SILICON_REV,
- AST2750_A1_SILICON_REV,
};
bool is_supported_silicon_rev(uint32_t silicon_rev)
uint32_t hw_prot_key;
};
-#define AST2400_A0_SILICON_REV 0x02000303U
#define AST2400_A1_SILICON_REV 0x02010303U
-#define AST2500_A0_SILICON_REV 0x04000303U
#define AST2500_A1_SILICON_REV 0x04010303U
-#define AST2600_A0_SILICON_REV 0x05000303U
-#define AST2600_A1_SILICON_REV 0x05010303U
-#define AST2600_A2_SILICON_REV 0x05020303U
#define AST2600_A3_SILICON_REV 0x05030303U
-#define AST1030_A0_SILICON_REV 0x80000000U
#define AST1030_A1_SILICON_REV 0x80010000U
#define AST1060_A2_SILICON_REV 0xA0030000U
-#define AST2700_A0_SILICON_REV 0x06000103U
-#define AST2720_A0_SILICON_REV 0x06000203U
-#define AST2750_A0_SILICON_REV 0x06000003U
#define AST2700_A1_SILICON_REV 0x06010103U
-#define AST2750_A1_SILICON_REV 0x06010003U
#define ASPEED_IS_AST2500(si_rev) ((((si_rev) >> 24) & 0xff) == 0x04)