diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi')
-rw-r--r-- | roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi b/roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi new file mode 100644 index 000000000..fe1961991 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra-u-boot.dtsi @@ -0,0 +1,43 @@ +#include <config.h> + +#ifdef CONFIG_SPL_TEXT_BASE +#define U_BOOT_OFFSET (CONFIG_SYS_TEXT_BASE - CONFIG_SPL_TEXT_BASE) +#else +#define U_BOOT_OFFSET 0 +#endif + +/ { + binman { + multiple-images; + image1 { + filename = "u-boot-tegra.bin"; + pad-byte = <0xff>; + u-boot-spl { + }; + u-boot { + offset = <(U_BOOT_OFFSET)>; + }; + }; + + /* Same as image1 - some tools still expect the -dtb suffix */ + image2 { + filename = "u-boot-dtb-tegra.bin"; + pad-byte = <0xff>; + u-boot-spl { + }; + u-boot { + offset = <(U_BOOT_OFFSET)>; + }; + }; + + image3 { + filename = "u-boot-nodtb-tegra.bin"; + pad-byte = <0xff>; + u-boot-spl { + }; + u-boot-nodtb { + offset = <(U_BOOT_OFFSET)>; + }; + }; + }; +}; |