[U-Boot] [PATCH 5/7] Convert CONFIG_SF_DEFAULT_* to Kconfig

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Wed Feb 27 14:50:26 UTC 2019


[reducing the CC list as gmail won't let me send otherwise]

On 27.02.2019 15:20, Patrick Delaunay wrote:
> This converts the following to Kconfig:
>    CONFIG_SF_DEFAULT_BUS
>    CONFIG_SF_DEFAULT_CS
>    CONFIG_SF_DEFAULT_MODE
>    CONFIG_SF_DEFAULT_SPEED
> 
> I use moveconfig script and then manual check on generated u-boot.cfg
> to solve the remaining issue.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

I admit I haven't followed the patches regarding these defines 
completely, but isn't moving these to Kconfig the opposite of what we want?

I always thought the goal would be to move U-Boot to DM and devicetree 
completely sooner or later (where these defines aren't used). Adding 
them to Kconfig does not make them optional but makes them *always* 
present (but probably with default values if not used).

Regards,
Simon


More information about the U-Boot mailing list