
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@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?