From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 20 Jul 2016 08:20:16 -0400 Subject: [U-Boot] what is the *recommended* split between defconfig file and header file? In-Reply-To: References: <20160719192412.GK7260@bill-the-cat> Message-ID: <20160720122016.GU7260@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jul 20, 2016 at 12:21:16PM +0200, Andreas F?rber wrote: > Am 20.07.2016 um 10:56 schrieb Robert P. J. Day: > > On Tue, 19 Jul 2016, Tom Rini wrote: > > > >> On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > >> > >>> > >>> kind of a style question but what is the preferred way to define a > >>> board in the sense of what belongs in the defconfig file and what > >>> belongs in the header file? > >> > >> The header files will eventually go away. Most of the contents are > >> things that could be, but haven't yet been, converted. A few things > >> like default environment are going to be harder to figure out. > > > > and what about the advantage of header files that allow the > > inclusion of other header files to reduce duplication? will config > > files be extended to allow the same thing? (they don't do that now, do > > they?) > > Use Kconfig files for setting defaults or adding selects. Yes. I am in favour of making heavy use of "default y if ..." constructs and when possible some meta-options such as DISTRO_DEFAULTS -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: