xref: /openbmc/u-boot/arch/arm/dts/tegra-u-boot.dtsi (revision e11ef3d2)
1#include <config.h>
2
3#ifdef CONFIG_SPL_TEXT_BASE
4#define U_BOOT_OFFSET (CONFIG_SYS_TEXT_BASE - CONFIG_SPL_TEXT_BASE)
5#else
6#define U_BOOT_OFFSET 0
7#endif
8
9/ {
10	binman {
11		multiple-images;
12		image1 {
13			filename = "u-boot-tegra.bin";
14			pad-byte = <0xff>;
15			u-boot-spl {
16			};
17			u-boot {
18				offset = <(U_BOOT_OFFSET)>;
19			};
20		};
21
22		/* Same as image1 - some tools still expect the -dtb suffix */
23		image2 {
24			filename = "u-boot-dtb-tegra.bin";
25			pad-byte = <0xff>;
26			u-boot-spl {
27			};
28			u-boot {
29				offset = <(U_BOOT_OFFSET)>;
30			};
31		};
32
33		image3 {
34			filename = "u-boot-nodtb-tegra.bin";
35			pad-byte = <0xff>;
36			u-boot-spl {
37			};
38			u-boot-nodtb {
39				offset = <(U_BOOT_OFFSET)>;
40			};
41		};
42	};
43};
44