aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2023-01-31 16:42:27 +0800
committerStefano Babic <sbabic@denx.de>2023-03-29 20:15:42 +0200
commitfff11619a1fc7abd8c29fad486ea07287240c158 (patch)
treeb4adc77b6a226600a1144c2535f505f456ac8aa0
parentf9288c60f4b6725f152e3bad5f8043cfba1b6ed8 (diff)
downloadu-boot-fff11619a1fc7abd8c29fad486ea07287240c158.tar.gz
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 <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Alice Guo <alice.guo@nxp.com>
-rw-r--r--drivers/misc/sentinel/fuse.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/misc/sentinel/fuse.c b/drivers/misc/sentinel/fuse.c
index e2b68757664..aa691d37919 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