u-boot-brain/arch/arm
Marek Vasut 5602330df0 ARM: rmobile: Add recovery SPL for R-Car Gen3
Build an SPL which can be started via SCIF download mode on R-Car Gen3
and allows loading and executing U-Boot uImage with the next stage code.
This is also useful for starting e.g. ATF BL2, which inits the hardware
and returns to the U-Boot SPL, which can then load e.g. U-Boot proper.

The H3, M3-W, M3-N SoCs have plenty of SRAM for storing the U-Boot SPL
while the payload, e.g. ATF BL2, executes, so there is no problem here.

However, E3 and D3 have much less SRAM, hence the loader uses a trick
where it copies itself beyond the area used by BL2 and executes from
there. That area is 32kiB large and not enough to hold U-Boot SPL, BSS,
stack and malloc area, so the later two are placed at +0x4000 offset
from start of SRAM, another area not used by ATF BL2. To make things
even more complicated, the SCIF loader cannot load to the upper 32kiB
of the SRAM directly, hence the copying approach.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2019-05-21 22:15:31 +02:00
..
cpu CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
dts - update for using splashfile instead of location->name 2019-05-21 07:12:46 -04:00
include Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-05-20 13:53:51 -04:00
lib CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
mach-bcm283x arm: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci arm: davinci: remove leftover code for dm* SoCs 2019-05-04 13:04:10 -04:00
mach-exynos CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-integrator
mach-k3 arm: k3: config.mk: Use k3_gen_x509_cert.sh to generate boot images 2019-05-09 20:22:05 -04:00
mach-keystone CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-kirkwood CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig 2019-05-18 08:15:34 -04:00
mach-mediatek ARM: mediatek: mt8516: use PSCI to reset the SoC 2019-05-18 12:32:00 -04:00
mach-meson mach-meson: g12a: add DWC2 peripheral mode support 2019-05-09 10:38:32 +02:00
mach-mvebu arm: mvebu: Add CRS305-1G-4S board 2019-05-09 07:35:04 +02:00
mach-omap2 CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-orion5x arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile ARM: rmobile: Add recovery SPL for R-Car Gen3 2019-05-21 22:15:31 +02:00
mach-rockchip CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-s5pc1xx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-sti
mach-stm32 mach-stm32: Add MPU region for spi-nor memory mapped region 2019-05-06 09:50:19 +02:00
mach-stm32mp stm32mp1: add command poweroff 2019-04-12 16:09:13 +02:00
mach-sunxi Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-05-20 13:53:51 -04:00
mach-tegra CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-uniphier ARM: uniphier: do not modify bootcmd environment variable at run-time 2018-12-29 11:38:33 +09:00
mach-versal arm64: versal: Move IOU_SWITCH_DIVISOR0 to Kconfig 2019-02-14 14:31:10 +01:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-zynqmp arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI 2019-04-16 11:52:02 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
Kconfig.debug
Makefile arm: imx: build mach-imx for i.MX8 2019-01-28 20:35:47 +01:00