[U-Boot] [PATCH 6/6] ARM: rmobile: Sync Gen3 defconfigs

Marek Vasut marek.vasut at gmail.com
Mon Mar 4 22:03:56 UTC 2019


On 3/4/19 10:36 PM, Eugeniu Rosca wrote:
> Hello Marek,

Hi,

> Thanks to great maintenance, the R-Car3 defconfigs look strikingly similar.

That's the goal for this release, to make them look similar.

> Do you think it would make sense to relocate the common parts into
> rcar{3,-gen3}_defconfig and the unique per-board options into config
> fragments resembling the current R-Car3 defconfig structure?
> 
> $> u-boot-master (master) ls -1 configs/r8a779* | sed 's/_defconfig/.cfg/'
> configs/r8a7795_salvator-x.cfg
> configs/r8a7795_ulcb.cfg
> configs/r8a77965_salvator-x.cfg
> configs/r8a7796_salvator-x.cfg
> configs/r8a7796_ulcb.cfg
> configs/r8a77970_eagle.cfg
> configs/r8a77990_ebisu.cfg
> configs/r8a77995_draak.cfg
> 
> In this case, I believe each fragment would contain under 10 Kconfig
> symbols and the `make <board>_defconfig` procedure would change
> to `make rcar{3,-gen3}_defconfig <board>.cfg`.

I was pondering whether there's some way to factor out the common parts,
or maybe even replace some of the defconfigs with a placeholder for
compatibility reasons and just go with one full defconfig for all SoCs
(H3/M3W/M3N) that can be on such a board.

I'd still like to be able to do "make soc_board_defconfig ; make"
without having to rack my brain which other .cfg files I need to append.
I didn't find a good solution for this however. Do you know of one ?

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list