arch/armv7-a: Support the big endian in arm_pghead.S like arm_head.S

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-19 06:19:42 +08:00 committed by Alan Carvalho de Assis
parent 4abd626288
commit 4d56ef5d8c

View File

@ -453,6 +453,15 @@ __start:
orr r0, r0, #(SCTLR_A)
#endif
#ifdef CONFIG_ENDIAN_BIG
/* Big endian mode
*
* SCTLR_EE Bit 25: 1=Big endian.
*/
orr r0, r0, #(SCTLR_EE)
#endif
#ifdef CPU_AFE_ENABLE
/* AP[0:2] Permissions model
*