]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: binman: Add support for including SCP firmware
authorSamuel Holland <samuel@sholland.org>
Thu, 22 Oct 2020 02:12:16 +0000 (21:12 -0500)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Oct 2020 06:13:43 +0000 (11:43 +0530)
commite72a6be4fc071930016903638e1e493ab5d3be8a
treee9f81dae2d026188ec7edc378dfe2219abf9c868
parent18bd45592cbd87a766450d08169ec574853b50fa
sunxi: binman: Add support for including SCP firmware

Allwinner sun50i SoCs contain an OpenRISC 1000 CPU that functions as a
System Control Processor, or SCP. ARM Trusted Firmware (ATF)
communicates with the SCP over SCPI to implement the PSCI system
suspend, shutdown and reset functionality. Currently, SCP firmware is
optional; the system will boot and run without it, but system suspend
will be unavailable.

Since all communication with the SCP is mediated by ATF, the only thing
U-Boot needs to do is load the firmware into SRAM. The SCP firmware
occupies the last 16KiB of SRAM A2, immediately following ATF.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/dts/sunxi-u-boot.dtsi
board/sunxi/README.sunxi64
tools/binman/missing-blob-help