blob: 4f692ee975729295ec638b7751e4ca2b2d573b4c [file] [log] [blame]
Simon Glassf2faffe2017-11-13 18:55:06 -07001#include <config.h>
2
Stephen Warren3cdb5fa2017-12-19 18:30:34 -07003#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
Simon Glassf2faffe2017-11-13 18:55:06 -07009/ {
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 {
Stephen Warren3cdb5fa2017-12-19 18:30:34 -070018 pos = <(U_BOOT_OFFSET)>;
Simon Glassf2faffe2017-11-13 18:55:06 -070019 };
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 {
Stephen Warren3cdb5fa2017-12-19 18:30:34 -070029 pos = <(U_BOOT_OFFSET)>;
Simon Glassf2faffe2017-11-13 18:55:06 -070030 };
31 };
32
33 image3 {
34 filename = "u-boot-nodtb-tegra.bin";
35 pad-byte = <0xff>;
36 u-boot-spl {
37 };
38 u-boot-nodtb {
Stephen Warren3cdb5fa2017-12-19 18:30:34 -070039 pos = <(U_BOOT_OFFSET)>;
Simon Glassf2faffe2017-11-13 18:55:06 -070040 };
41 };
42 };
43};