mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
uniphier: move ROTPK hash to .rodata section
This is not executable code. It should be put into .rodata instead of .text section. This produces more correct BL1 image when SEPARATE_CODE_AND_RODATA is defined. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
ccd0c24cf8
commit
917d79668d
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
.global uniphier_rotpk_hash
|
.global uniphier_rotpk_hash
|
||||||
.global uniphier_rotpk_hash_end
|
.global uniphier_rotpk_hash_end
|
||||||
|
.section .rodata.uniphier_rotpk_hash, "a"
|
||||||
uniphier_rotpk_hash:
|
uniphier_rotpk_hash:
|
||||||
/* DER header */
|
/* DER header */
|
||||||
.byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
|
.byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48
|
||||||
|
|
Loading…
Add table
Reference in a new issue