mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM
idbloader.img content - currently created by way of Makefile - can be created by binman directly. So let's do that for Rockchip ARM platforms. Cc: Quentin Schulz <foss+uboot@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
32c8d1ce5c
commit
001f788cdb
2
Makefile
2
Makefile
@ -1011,7 +1011,7 @@ endif
|
|||||||
else
|
else
|
||||||
ifeq ($(CONFIG_SPL),y)
|
ifeq ($(CONFIG_SPL),y)
|
||||||
# Generate these inputs for binman which will create the output files
|
# Generate these inputs for binman which will create the output files
|
||||||
INPUTS-y += idbloader.img u-boot.img
|
INPUTS-y += u-boot.img
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -17,8 +17,17 @@
|
|||||||
filename = "u-boot-rockchip.bin";
|
filename = "u-boot-rockchip.bin";
|
||||||
pad-byte = <0xff>;
|
pad-byte = <0xff>;
|
||||||
|
|
||||||
blob {
|
mkimage {
|
||||||
filename = "idbloader.img";
|
filename = "idbloader.img";
|
||||||
|
args = "-n", CONFIG_SYS_SOC, "-T", "rksd";
|
||||||
|
#ifdef CONFIG_TPL
|
||||||
|
multiple-data-files;
|
||||||
|
|
||||||
|
u-boot-tpl {
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
u-boot-spl {
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
u-boot-img {
|
u-boot-img {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user