2017-11-14 01:55:06 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
2017-12-20 01:30:34 +00:00
|
|
|
#ifdef CONFIG_SPL_TEXT_BASE
|
|
|
|
#define U_BOOT_OFFSET (CONFIG_SYS_TEXT_BASE - CONFIG_SPL_TEXT_BASE)
|
|
|
|
#else
|
|
|
|
#define U_BOOT_OFFSET 0
|
|
|
|
#endif
|
|
|
|
|
2017-11-14 01:55:06 +00:00
|
|
|
/ {
|
|
|
|
binman {
|
|
|
|
multiple-images;
|
|
|
|
image1 {
|
|
|
|
filename = "u-boot-tegra.bin";
|
|
|
|
pad-byte = <0xff>;
|
|
|
|
u-boot-spl {
|
|
|
|
};
|
|
|
|
u-boot {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <(U_BOOT_OFFSET)>;
|
2017-11-14 01:55:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* 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 {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <(U_BOOT_OFFSET)>;
|
2017-11-14 01:55:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
image3 {
|
|
|
|
filename = "u-boot-nodtb-tegra.bin";
|
|
|
|
pad-byte = <0xff>;
|
|
|
|
u-boot-spl {
|
|
|
|
};
|
|
|
|
u-boot-nodtb {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <(U_BOOT_OFFSET)>;
|
2017-11-14 01:55:06 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|