u-boot-brain/arch
Masahiro Yamada 1f8e6a670c Revert "ARM: uniphier: add weird workaround code for LD20"
This reverts commit 45f41c134b.

This weird workaround was the best I came up with at that time
to boot U-Boot from TF-A.

I noticed U-Boot successfully boots on LD20 (i.e. CA72 CPU) by using
the latest TF-A.

Specifically, since the following TF-A commit, U-Boot runs at EL2
instead of EL1, and this issue went away as a side-effect.

|commit f998a052fd94ea082833109f25b94ed5bfa24e8b
|Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|Date:   Thu Jul 25 10:57:38 2019 +0900
|
|    uniphier: run BL33 at EL2
|
|    All the SoCs in 64-bit UniPhier SoC family support EL2.
|
|    Just hard-code MODE_EL2 instead of using el_implemented() helper.
|
|    Change-Id: I7ab48002c5205bc8c013e1b46313b57d6c431db0
|    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

However, if I reverted that, this problem would come back, presumably
because some EL1 code in U-Boot triggers this issue.

Now that commit f8ddd8cbb5 ("arm64: issue ISB after updating system
registers") fixed this issue properly, this weird workaround is no
longer needed irrespective of the exception level at which U-Boot runs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-07-11 21:30:21 +09:00
..
arc common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm Revert "ARM: uniphier: add weird workaround code for LD20" 2020-07-11 21:30:21 +09:00
m68k Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
microblaze Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
mips common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nds32 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
nios2 Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
powerpc Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
riscv Merge branch 'next' 2020-07-06 15:46:38 -04:00
sandbox test: dm: rtc: add test of dm_rtc_read, dm_rtc_write 2020-07-09 06:02:45 +02:00
sh Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
x86 x86: apl: Re-enable loading of SPL 2020-07-09 12:33:24 +08:00
xtensa Remove CROSS_COMPILE default from arch/*/config.mk 2020-07-01 10:11:03 -04:00
.gitignore
Kconfig sandbox: move compression option to Kconfig 2020-05-25 11:54:53 -04:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00