mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
ARM: tegra-u-boot: add recipe for multi-dtb image
Buildman has difficulties with constructing multi-dtb images, so let's add a temporary custom recipe for it. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
539800bf92
commit
d7c98f2030
1 changed files with 22 additions and 0 deletions
|
@ -19,6 +19,27 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_MULTI_DTB_FIT
|
||||||
|
image2 {
|
||||||
|
filename = "u-boot-dtb-tegra.bin";
|
||||||
|
pad-byte = <0xff>;
|
||||||
|
u-boot-spl {
|
||||||
|
};
|
||||||
|
u-boot-nodtb {
|
||||||
|
offset = <(U_BOOT_OFFSET)>;
|
||||||
|
};
|
||||||
|
fit-dtb {
|
||||||
|
#ifdef CONFIG_MULTI_DTB_FIT_LZO
|
||||||
|
filename = "fit-dtb.blob.lzo";
|
||||||
|
#elif CONFIG_MULTI_DTB_FIT_GZIP
|
||||||
|
filename = "fit-dtb.blob.gz";
|
||||||
|
#else
|
||||||
|
filename = "fit-dtb.blob";
|
||||||
|
#endif
|
||||||
|
type = "blob";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
#else
|
||||||
/* Same as image1 - some tools still expect the -dtb suffix */
|
/* Same as image1 - some tools still expect the -dtb suffix */
|
||||||
image2 {
|
image2 {
|
||||||
filename = "u-boot-dtb-tegra.bin";
|
filename = "u-boot-dtb-tegra.bin";
|
||||||
|
@ -29,6 +50,7 @@
|
||||||
offset = <(U_BOOT_OFFSET)>;
|
offset = <(U_BOOT_OFFSET)>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
image3 {
|
image3 {
|
||||||
filename = "u-boot-nodtb-tegra.bin";
|
filename = "u-boot-nodtb-tegra.bin";
|
||||||
|
|
Loading…
Add table
Reference in a new issue