From: Simon Goldschmidt Date: Wed, 27 Feb 2019 15:50:26 +0100 Subject: [U-Boot] [PATCH 5/7] Convert CONFIG_SF_DEFAULT_* to Kconfig In-Reply-To: <1551277238-604-6-git-send-email-patrick.delaunay@st.com> References: <1551277238-604-1-git-send-email-patrick.delaunay@st.com> <1551277238-604-6-git-send-email-patrick.delaunay@st.com> Message-ID: <706b2cd9-2c1d-87a8-59fa-a758a6febf75@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de [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 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