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";
+ optional;
};
};
Use this option to set the index of the serial device to be used
for the early console during SPL execution.
-config SYS_K3_SPL_ATF
- bool "Start Cortex-A from SPL"
- depends on CPU_V7R
- help
- Enabling this will try to start Cortex-A (typically with ATF)
- after SPL from R5.
-
config K3_ATF_LOAD_ADDR
hex "Load address of ATF image"
+ default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7)
default 0x70000000
help
- The load address for the ATF image. This value defaults to 0x70000000
+ 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
obj-$(CONFIG_SOC_K3_J721E) += j721e_fdt.o
obj-$(CONFIG_SOC_K3_J721S2) += j721s2_fdt.o
obj-$(CONFIG_SOC_K3_AM625) += am625_fdt.o
+ obj-$(CONFIG_SOC_K3_AM62A7) += am62a7_fdt.o
+obj-$(CONFIG_SOC_K3_J784S4) += j784s4_fdt.o
endif
ifeq ($(CONFIG_SPL_BUILD),y)
obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
fdt_fixup_cores_nodes_am625(blob, k3_get_core_nr());
fdt_fixup_gpu_nodes_am625(blob, k3_has_gpu());
fdt_fixup_pru_node_am625(blob, k3_has_pru());
+ fdt_fixup_thermal_zone_nodes_am625(blob, k3_get_max_temp());
+ fdt_fixup_reserved(blob, "tfa", CONFIG_K3_ATF_LOAD_ADDR, 0x80000);
+ fdt_fixup_reserved(blob, "optee", CONFIG_K3_OPTEE_LOAD_ADDR, 0x1800000);
return 0;
}