u-boot-brain/arch/arm/mach-uniphier/arm64
Masahiro Yamada 45f41c134b 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>
2017-05-17 21:50:31 +09:00
..
arm-cci500.c ARM: uniphier: use (devm_)ioremap() instead of map_sysmem() 2016-07-24 00:13:10 +09:00
lowlevel_init.S ARM: uniphier: add weird workaround code for LD20 2017-05-17 21:50:31 +09:00
Makefile ARM: uniphier: add weird workaround code for LD20 2017-05-17 21:50:31 +09:00
mem_map.c armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
smp_kick_cpus.c ARM: uniphier: use (devm_)ioremap() instead of map_sysmem() 2016-07-24 00:13:10 +09:00
smp.S ARM: uniphier: add PH1-LD20 SoC support 2016-04-24 09:54:08 +09:00
timer.c ARM: uniphier: use (devm_)ioremap() instead of map_sysmem() 2016-07-24 00:13:10 +09:00