diff options
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)>; + }; + }; + }; +}; |