diff options
author | Michael Walle <michael@walle.cc> | 2020-11-18 19:46:01 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-12-05 00:09:06 +0300 |
commit | e057760f38465f77ff9b557570f56845011729fe (patch) | |
tree | ebe72744bb378016f65f4d9ce9349784aa3971cd /arch | |
parent | ea22783f4010ed1599b96f5b7183222bfcc48537 (diff) | |
download | u-boot-e057760f38465f77ff9b557570f56845011729fe.tar.xz |
board: sl28: add ATF support (bl31)
Add support to load the bl31 part of the ARM Trusted Firmware by the
SPL.
Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi b/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi index 87e14d6ae6..54ef0b4258 100644 --- a/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi +++ b/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi @@ -16,7 +16,7 @@ ethernet3 = &enetc6; }; - binman { + binman: binman { filename = "u-boot.rom"; pad-byte = <0xff>; @@ -99,6 +99,45 @@ }; }; +#ifdef CONFIG_SL28_SPL_LOADS_ATF_BL31 +&binman { + fit { + images { + bl31 { + description = "ARM Trusted Firmware (bl31)"; + type = "firmware"; + arch = "arm"; + os = "arm-trusted-firmware"; + compression = "none"; + load = <CONFIG_SL28_BL31_ENTRY_ADDR>; + entry = <CONFIG_SL28_BL31_ENTRY_ADDR>; + + blob-ext { + filename = "bl31.bin"; + }; + }; + }; + + configurations { + conf-1 { + firmware = "bl31"; + loadables = "uboot"; + }; + + conf-2 { + firmware = "bl31"; + loadables = "uboot"; + }; + + conf-3 { + firmware = "bl31"; + loadables = "uboot"; + }; + }; + }; +}; +#endif + &i2c0 { rtc: rtc@32 { }; |