u-boot/arch/arm/cpu/armv7
Andre Przywara 534b82a1f2 sunxi: move early "SRAM setup" into separate file
Currently we do some magic "SRAM setup" MMIO writes in s_init(), copied
from the original BSP U-Boot. The comment speaks of this being required
before DRAM access gets enabled, but there is no indication that this
would actually be required that early.

Move this out of s_init(), into board_init_f(). Since this actually only
affects a very few older SoCs, the actual code goes into the cpu/armv7
directory, to move it out of the way for all other SoCs.

This also uses the opportunity to convert some #ifdefs over to the fancy
IS_ENABLED() macros used in actual C code.

We keep the s_init() stub around for now, since armv8's lowlevel_init
still relies on it.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2022-02-04 00:09:57 +00:00
..
bcm235xx common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
bcm281xx reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
bcmcygnus reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
bcmnsp reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
iproc-common arm: iproc: Add higher speed configurations 2021-07-06 14:07:36 -04:00
kona-common ARM: kona: fix clk_bsc_enable() type mismatch for LTO 2021-05-24 14:21:30 -04:00
ls102xa Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
s5p-common doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
s5p4418 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
stv0991 stv0991: remove specific CONFIG_STV0991 configs 2021-10-08 08:30:18 +02:00
sunxi sunxi: move early "SRAM setup" into separate file 2022-02-04 00:09:57 +00:00
vf610 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
arch_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cache_v7.c arm: cp15: remove weak function arm_init_domains 2021-03-02 15:53:37 -05:00
cache_v7_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cp15.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.c common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
exception_level.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig sunxi: move Cortex SMPEN setting into start.S 2022-02-04 00:09:36 +00:00
lowlevel_init.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
mpu_v7r.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
nonsec_virt.S ARM: HYP/non-sec: migrate stack 2018-07-25 14:57:43 +02:00
psci-common.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
psci.S ARM: PSCI: initialize stack pointer on secondary CPUs 2018-07-23 10:53:12 +02:00
sctlr.S arm: armv7: allow unaligned memory access 2018-06-03 15:27:21 +02:00
smccc-call.S arm: Leave smccc calls in .text when efi_loader=n 2019-02-13 09:40:06 +01:00
start.S sunxi: move Cortex SMPEN setting into start.S 2022-02-04 00:09:36 +00:00
syslib.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
virt-dt.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
virt-v7.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00