mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
arm: mach-k3: Add config option for setting OP-TEE address
Much like we have for ATF, OP-TEE has a standard address that we load it too and run it from. Add a Kconfig item for this to remove some hard-coding and allow this address to be more easily changed. Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
This commit is contained in:
@@ -105,8 +105,8 @@
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
os = "tee";
|
||||
load = <0x9e800000>;
|
||||
entry = <0x9e800000>;
|
||||
load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
tee-os {
|
||||
filename = "tee-raw.bin";
|
||||
};
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
os = "tee";
|
||||
load = <0x9e800000>;
|
||||
entry = <0x9e800000>;
|
||||
load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
tee-os {
|
||||
};
|
||||
};
|
||||
|
||||
@@ -286,8 +286,8 @@
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
os = "tee";
|
||||
load = <0x9e800000>;
|
||||
entry = <0x9e800000>;
|
||||
load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
ti-secure {
|
||||
content = <&tee>;
|
||||
keyfile = "custMpk.pem";
|
||||
@@ -356,8 +356,8 @@
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
os = "tee";
|
||||
load = <0x9e800000>;
|
||||
entry = <0x9e800000>;
|
||||
load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
tee-os {
|
||||
filename = "tee-raw.bin";
|
||||
};
|
||||
|
||||
@@ -250,8 +250,8 @@
|
||||
arch = "arm64";
|
||||
compression = "none";
|
||||
os = "tee";
|
||||
load = <0x9e800000>;
|
||||
entry = <0x9e800000>;
|
||||
load = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
entry = <CONFIG_K3_OPTEE_LOAD_ADDR>;
|
||||
tee-os {
|
||||
filename = "tee-raw.bin";
|
||||
};
|
||||
|
||||
@@ -129,6 +129,13 @@ config K3_ATF_LOAD_ADDR
|
||||
The load address for the ATF image. This value is used to build the
|
||||
FIT image header that places ATF in memory where it will run.
|
||||
|
||||
config K3_OPTEE_LOAD_ADDR
|
||||
hex "Load address of OPTEE image"
|
||||
default 0x9e800000
|
||||
help
|
||||
The load address for the OPTEE image. This value defaults to 0x9e800000
|
||||
if not provided in the board defconfig file.
|
||||
|
||||
config K3_DM_FW
|
||||
bool "Separate DM firmware image"
|
||||
depends on CPU_V7R && (SOC_K3_J721E || SOC_K3_J721S2 || SOC_K3_AM625 || SOC_K3_AM62A7) && !CLK_TI_SCI && !TI_SCI_POWER_DOMAIN
|
||||
|
||||
Reference in New Issue
Block a user