[U-Boot] [PATCH v6 03/13] Kconfig: Add default SPL_FIT_GENERATOR for rockchip
Jagan Teki
jagan at amarulasolutions.com
Tue May 7 06:42:23 UTC 2019
Hi Kever,
On Tue, May 7, 2019 at 9:36 AM Kever Yang <kever.yang at rock-chips.com> wrote:
>
> Hi Jagan,
>
>
> On 04/27/2019 07:48 PM, Jagan Teki wrote:
> > Add default SPL_FIT_GENERATOR py script for rockchip platforms if
> > specific target enabled SPL_LOAD_FIT.
> >
> > So, this would help get rid of explicitly mentioning the default
> > SPL FIT generator in defconfigs. however some targets, like puma_rk3399
> > still require their own FIT generator so in those cases the default will
> > override with defconfig defined generator.
> >
> > Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> > Reviewed-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
> > ---
> > Kconfig | 1 +
> > configs/chromebook_bob_defconfig | 1 -
> > configs/evb-rk3399_defconfig | 1 -
> > configs/ficus-rk3399_defconfig | 1 -
> > configs/firefly-rk3399_defconfig | 1 -
> > configs/rock960-rk3399_defconfig | 1 -
> > 6 files changed, 1 insertion(+), 5 deletions(-)
> >
> > diff --git a/Kconfig b/Kconfig
> > index 305b265ed7..5679a288ec 100644
> > --- a/Kconfig
> > +++ b/Kconfig
> > @@ -424,6 +424,7 @@ config SPL_FIT_GENERATOR
> > string ".its file generator script for U-Boot FIT image"
> > depends on SPL_FIT
> > default "board/sunxi/mksunxi_fit_atf.sh" if SPL_LOAD_FIT && ARCH_SUNXI
> > + default "arch/arm/mach-rockchip/make_fit_atf.py" if SPL_LOAD_FIT && ARCH_ROCKCHIP
>
> What happens to puma-rk3399 board with this patch? For it use dedicate
> its file now.
> configs/puma-rk3399_defconfig
> CONFIG_SPL_FIT_SOURCE="board/theobroma-systems/puma_rk3399/fit_spl_atf.its"
It replaced with defined .fit in puma, atleast I've tested the build.
More information about the U-Boot
mailing list