summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2024-02-04 04:26:27 +0300
committerKalle Valo <kvalo@kernel.org>2024-02-06 21:06:14 +0300
commit43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b (patch)
treeb0fcf8d38912473afdc2f75a1cb79dfa63a516d0 /scripts/const_structs.checkpatch
parent12ff5e1cca33b32fae0b183203f5b58a610e137e (diff)
downloadlinux-43f8a4dc40a70b3598dd0aae401dddaf63ca0d5b.tar.xz
wifi: rtw89: fw: download firmware with key data for secure boot
Since firmware header contains multiple secure sections, we need to trim ignored sections, and then download firmware header with single one secure section. For secure boot, when downloading secure section, copy security key data from MSS poll by key_idx read from efuse. If non-secure boot, no need this extra copy. +---------------------------+ -\ | firmware header | | | | | | +-----------------------+ | | only preserve single one secure | | section type/size * N | | | section | | ... | | | | +-----------------------+ | | +---------------------------+ -/ : : +---------------------------+ -\ | secure section type (ID:9)| | | | | +----|-> [ security key data ] | | | +---------------------------+ -/ | |MSS Pool for above section | | | [ security key data 0 ] | +----|- [ security key data 1 ] | by key_idx | [ security key data 2 ] | | ... | +---------------------------+ Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240204012627.9647-5-pkshih@realtek.com
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions