Browse Source

fix(nxp-drivers): fix sd secure boot failure

secure-boot: fix for sd boot mode failure:
- Array for ROT Pub key hash is not cache aligned.

Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I7d1c1115066dd5323399f14b5c3667a1355d5671
pull/1992/head
Pankaj Gupta 2 years ago
committed by Jiafei Pan
parent
commit
236ca5667e
  1. 2
      drivers/nxp/auth/csf_hdr_parser/csf_hdr_parser.c

2
drivers/nxp/auth/csf_hdr_parser/csf_hdr_parser.c

@ -38,7 +38,7 @@ static const uint8_t barker_code[CSF_BARKER_LEN] = { 0x68, 0x39, 0x27, 0x81 };
/* Flag to indicate if values are there in rotpk_hash_table */
bool rotpk_not_dpld = true;
uint8_t rotpk_hash_table[MAX_KEY_ENTRIES][SHA256_BYTES];
uint8_t rotpk_hash_table[MAX_KEY_ENTRIES][SHA256_BYTES] __aligned(CACHE_WRITEBACK_GRANULE);
uint32_t num_rotpk_hash_entries;
/*

Loading…
Cancel
Save