On Fri, Jul 22, 2022 at 5:05 PM Quentin Schulz <foss+ub...@0leil.net> wrote: > > From: Quentin Schulz <quentin.sch...@theobroma-systems.com> > > 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+ub...@0leil.net> > Signed-off-by: Quentin Schulz <quentin.sch...@theobroma-systems.com> > --- > Makefile | 2 +- > arch/arm/dts/rockchip-u-boot.dtsi | 15 +++++++++++++-- > 2 files changed, 14 insertions(+), 3 deletions(-) > > diff --git a/Makefile b/Makefile > index d76ec69b52..f780bfe211 100644 > --- a/Makefile > +++ b/Makefile > @@ -1005,7 +1005,7 @@ endif > else > ifeq ($(CONFIG_SPL),y) > # 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 > diff --git a/arch/arm/dts/rockchip-u-boot.dtsi > b/arch/arm/dts/rockchip-u-boot.dtsi > index eae3ee715d..0362c97e0b 100644 > --- a/arch/arm/dts/rockchip-u-boot.dtsi > +++ b/arch/arm/dts/rockchip-u-boot.dtsi > @@ -17,9 +17,20 @@ > filename = "u-boot-rockchip.bin"; > pad-byte = <0xff>; > > - blob { > - filename = "idbloader.img";
Binman might be first priority boot image to be used but not mandatory for all cases. Some boards use SPL or TPL+SPL and U-Boot proper separately in order to change the SPL or TPL+SPL for supporting Multi DTB on a variety of boards without updating U-Boot proper from the factory. idbloader.img can be a legacy image name but it is derived from rockchip and many boards are already used it and it is simply recognized by rockchip board vendors. Thanks, Jagan.