From: Ye Li Date: Tue, 31 Jan 2023 08:42:27 +0000 (+0800) Subject: misc: fuse: Update fuse mapping for 8ULP S400 API X-Git-Tag: baikal/mips/sdk6.2~4^2~3^2~175^2~16^2~78 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=68b4c4ce4fed0ad4338eb5bed05391cc86a61992;p=uboot.git misc: fuse: Update fuse mapping for 8ULP S400 API Since new 8ULP A1 S400 FW (v0.0.8-e329b760) can support to read more fuses: like PMU trim, Test flow/USB, GP1-5, GP8-10. Update the u-boot driver for the new mapping. Signed-off-by: Ye Li Reviewed-by: Peng Fan Reviewed-by: Alice Guo --- diff --git a/drivers/misc/sentinel/fuse.c b/drivers/misc/sentinel/fuse.c index e2b6875766..aa691d3791 100644 --- a/drivers/misc/sentinel/fuse.c +++ b/drivers/misc/sentinel/fuse.c @@ -67,6 +67,16 @@ struct s400_map_entry s400_api_mapping_table[] = { { 15, 8 }, /* OEM SRK HASH */ { 23, 1, 4, 2 }, /* OTFAD */ { 25, 8 }, /* Test config2 */ + { 26, 8 }, /* PMU */ + { 27, 8 }, /* Test flow/USB */ + { 32, 8 }, /* GP1 */ + { 33, 8 }, /* GP2 */ + { 34, 8 }, /* GP3 */ + { 35, 8 }, /* GP4 */ + { 36, 8 }, /* GP5 */ + { 49, 8 }, /* GP8 */ + { 50, 8 }, /* GP9 */ + { 51, 8 }, /* GP10 */ }; #elif defined(CONFIG_ARCH_IMX9) #define FSB_OTP_SHADOW 0x8000