From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 5 Sep 2020 14:51:09 -0600 Subject: [PATCH v2 3/3] sunxi: Add support for including SCP firmware In-Reply-To: <20200903060815.2467-3-samuel@sholland.org> References: <20200903060815.2467-1-samuel@sholland.org> <20200903060815.2467-3-samuel@sholland.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Samuel, On Thu, 3 Sep 2020 at 00:08, Samuel Holland wrote: > > 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 > and shutdown 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. > > Signed-off-by: Samuel Holland > --- > > Changes since v1: > - None > > --- > board/sunxi/README.sunxi64 | 43 ++++++++++++++++++++++++++++------ > board/sunxi/mksunxi_fit_atf.sh | 23 +++++++++++++++--- > 2 files changed, 56 insertions(+), 10 deletions(-) This needs to be done with binman. See u-boot-dm/next for the updated implementation. Regards, Simon