mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
16 lines
284 B
Makefile
16 lines
284 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += timer.o
|
|
else
|
|
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
|