diff options
author | Alex Bee <knaerzche@gmail.com> | 2023-07-18 17:57:11 +0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-07-28 13:45:03 +0300 |
commit | fff7f5e97852e8a366c637505063b99485edab66 (patch) | |
tree | 935a42253c48f9abbe9bfcb632837197f918e5fc /arch/arm/dts/rk3288-u-boot.dtsi | |
parent | 5b269ed404dc1ddaa8e1a100e466312d580769d7 (diff) | |
download | u-boot-fff7f5e97852e8a366c637505063b99485edab66.tar.xz |
rockchip: Support OP-TEE for ARM in FIT images created by binman
CONFIG_SPL_OPTEE_IMAGE option is used during DRAM size detection for
Rockchip ARM platform to indicate that an OP-TEE binary was already loaded
and a Trusted Execution Environment (TEE) is available in order to
block/reserve a memory-region for it.
This adds a bunch of new `#if's` to u-boot-rockchip.dtsi to include the
OP-TEE binary in the FIT image for ARM SOCs if CONFIG_SPL_OPTEE_IMAGE is
selected.
That makes it a little harder to read, but I opted for that, because all
the duplicates in an extra ARM-OP-TEE-specfic .dtsi would be the greater
evil, IMHO. Besides it's more likley being "forgotten" to sync when changes
in u-boot-rockchip.dtsi are made.
The no longer required rockchip-optee.dtsi and it's inclusions are dropped.
The hardcoded load address is common across all OP-TEE implemenations for
Rockchip (vendor and upstream).
The OP-TEE-binary is non-optional if CONFIG_SPL_OPTEE_IMAGE is selected and
there will be an error if the file does not exist and/or `TEE=` build
option is missing.
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts/rk3288-u-boot.dtsi')
-rw-r--r-- | arch/arm/dts/rk3288-u-boot.dtsi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/dts/rk3288-u-boot.dtsi b/arch/arm/dts/rk3288-u-boot.dtsi index 1920698884..c4c5a2d225 100644 --- a/arch/arm/dts/rk3288-u-boot.dtsi +++ b/arch/arm/dts/rk3288-u-boot.dtsi @@ -4,7 +4,6 @@ */ #include "rockchip-u-boot.dtsi" -#include "rockchip-optee.dtsi" / { aliases { |