[U-Boot] [RFC PATCH 04/17] kconfig: add defconfig files for all boards

Tom Rini trini at ti.com
Wed Mar 19 13:54:03 CET 2014


On Mon, Mar 17, 2014 at 05:52:59PM +0900, Masahiro Yamada wrote:

> In Kconfig, we use "*_defconfig" files for board configuration.
> 
> In Linux Kernel, they are located under arch/${ARCH}/configs/ directory.
> It works in Linux Kernel because ARCH is always given from the
> command line for cross compile.
> 
> But in U-Boot, ARCH is not given from the command line.
> Which means we cannot know ARCH before the board configuration.
> That is why "*_defconfig" files over all architectures should be
> moved into one directory ./configs/.
> (The problem is configs/ directory contains more than 1200 files!)
> 
> Besides, we must configure boards for SPL and TPL too
> if they are supported.
> For those boards, defconfig files with the same name are placed
> in spl/configs/, tpl/configs/ directories.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

So, what this series is doing, roughly, is turning just the boards.cfg
entry into a small Kconfig snippet, and saying we'll keep using
include/configs/foo.h for most of the work.  This is just the first step
in moving away from include/configs/foo.h eventually, yes?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140319/e0bd9bcd/attachment.pgp>


More information about the U-Boot mailing list