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.
perhaps i haven't thought this through sufficiently, but it seems like moving all target configuration to the *_defconfig files and Kbuild system is going to require a fair bit of variable renaming. as i recall from the linux kernel coding style, any variables that begin with "CONFIG_" are meant to be defined in a Kconfig file somewhere, so if variables are moved from header files to a Kconfig file to be part of Kbuild, would that not require renaming them if they don't begin with "CONFIG_"? unless there's no plan to try to keep that standard. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot