summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/arm64/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-12 22:49:02 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-17 21:50:31 +0900
commit45f41c134baf5ff1bbf59d33027f6c79884fa4d9 (patch)
tree1bad533a1d01e3c6fc2d384c46b8e67794b3b333 /arch/arm/mach-uniphier/arm64/Makefile
parent8d3064d9a93a14fdec9e6963766ed77cf3f826a1 (diff)
ARM: uniphier: add weird workaround code for LD20
When booting from ARM Trusted Firmware, U-Boot runs in EL1-NS. The boot flow is as follows: BL1 -> BL2 -> BL31 -> BL33 (i.e. U-Boot) This boot sequence works fine for LD11 SoC (Cortex-A53), but LD20 SoC (Cortex-A72) hangs in U-Boot. The solution I found is to read sctlr_el1 and write back the value as-is. This should be no effect, but surprisingly fixes the problem for LD20 to boot. I do not know why. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/arm64/Makefile')
-rw-r--r--arch/arm/mach-uniphier/arm64/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/arm64/Makefile b/arch/arm/mach-uniphier/arm64/Makefile
index eb34c207ce..06072f23bd 100644
--- a/arch/arm/mach-uniphier/arm64/Makefile
+++ b/arch/arm/mach-uniphier/arm64/Makefile
@@ -9,5 +9,7 @@ obj-y += mem_map.o
ifdef CONFIG_ARMV8_MULTIENTRY
obj-y += smp.o smp_kick_cpus.o
obj-$(CONFIG_ARCH_UNIPHIER_LD20) += arm-cci500.o
+else
+obj-$(CONFIG_ARCH_UNIPHIER_LD20) += lowlevel_init.o
endif
endif