From 917d79668daa88ce94669620c31de103dbf1e673 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada <yamada.masahiro@socionext.com> Date: Tue, 17 Oct 2017 10:52:53 +0900 Subject: [PATCH] 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> --- plat/socionext/uniphier/uniphier_rotpk.S | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/socionext/uniphier/uniphier_rotpk.S b/plat/socionext/uniphier/uniphier_rotpk.S index 0045a3495..21c44b621 100644 --- a/plat/socionext/uniphier/uniphier_rotpk.S +++ b/plat/socionext/uniphier/uniphier_rotpk.S @@ -6,6 +6,7 @@ .global uniphier_rotpk_hash .global uniphier_rotpk_hash_end + .section .rodata.uniphier_rotpk_hash, "a" uniphier_rotpk_hash: /* DER header */ .byte 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, 0x48 -- GitLab