mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
rockchip: add fit source file for pack itb with op-tee
We package U-Boot and OP-TEE into one itb file for SPL, so that we can support OP-TEE in SPL. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
70fe287635
commit
aabb51da59
1 changed files with 50 additions and 0 deletions
50
arch/arm/mach-rockchip/fit_spl_optee.its
Normal file
50
arch/arm/mach-rockchip/fit_spl_optee.its
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2017 Rockchip Electronic Co.,Ltd
|
||||||
|
*
|
||||||
|
* Simple U-boot fit source file containing U-Boot, dtb and optee
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
/ {
|
||||||
|
description = "Simple image with OP-TEE support";
|
||||||
|
#address-cells = <1>;
|
||||||
|
|
||||||
|
images {
|
||||||
|
uboot@1 {
|
||||||
|
description = "U-Boot";
|
||||||
|
data = /incbin/("../../../u-boot-nodtb.bin");
|
||||||
|
type = "standalone";
|
||||||
|
os = "U-Boot";
|
||||||
|
arch = "arm";
|
||||||
|
compression = "none";
|
||||||
|
load = <0x61000000>;
|
||||||
|
};
|
||||||
|
optee@1 {
|
||||||
|
description = "OP-TEE";
|
||||||
|
data = /incbin/("../../../tee.bin");
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm";
|
||||||
|
os = "tee";
|
||||||
|
compression = "none";
|
||||||
|
load = <0x68400000>;
|
||||||
|
entry = <0x68400000>;
|
||||||
|
};
|
||||||
|
fdt@1 {
|
||||||
|
description = "dtb";
|
||||||
|
data = /incbin/("../../../u-boot.dtb");
|
||||||
|
type = "flat_dt";
|
||||||
|
compression = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
default = "conf@1";
|
||||||
|
conf@1 {
|
||||||
|
description = "Rockchip armv7 with OP-TEE";
|
||||||
|
firmware = "optee@1";
|
||||||
|
loadables = "uboot@1";
|
||||||
|
fdt = "fdt@1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue