u-boot/arch
Masahiro Yamada 58d423b88e dm: select CONFIG_DM* options
As mentioned in the previous commit, adding default values in each
Kconfig causes problems because it does not co-exist with the
"depends on" syntax.  (Please note this is not a bug of Kconfig.)
We should not do so unless we have a special reason.  Actually,
for CONFIG_DM*, we have no good reason to do so.

Generally, CONFIG_DM is not a user-configurable option.  Once we
convert a driver into Driver Model, the board only works with Driver
Model, i.e. CONFIG_DM must be always enabled for that board.
So, using "select DM" is more suitable rather than allowing users to
modify it.  Another good thing is, Kconfig warns unmet dependencies
for "select" syntax, so we easily notice bugs.

Actually, CONFIG_DM and other related options have been added
without consistency: some into arch/*/Kconfig, some into
board/*/Kconfig, and some into configs/*_defconfig.

This commit prefers "select" and cleans up the following issues.

[1] Never use "CONFIG_DM=n" in defconfig files

It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
It is more common to use "# CONFIG_FOO is not set".  But here, we
do not even have to do it.
Less than half of OMAP3 boards have been converted to Driver Model.
Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
weird.  Instead, add "select DM" only to appropriate boards, which
eventually eliminates "CONFIG_DM=n", etc.

[2] Delete redundant CONFIGs

Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
in configs/sandbox_defconfig.
Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
defines it also in omap3_beagle_defconfig and devkit8000_defconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2015-04-18 11:11:30 -06:00
..
arc arc: fix separate compilation of start.o 2015-04-10 19:22:40 +03:00
arm dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
avr32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
blackfin generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
m68k m68k: merge per-CPU config.mk into arch/m68k/Makefile 2015-03-28 09:03:09 -04:00
microblaze generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
mips net: Provide a function to get the current MAC address 2015-04-18 11:11:10 -06:00
nds32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
nios2 fdt: nios: Fix warning in ft_cpu_setup() 2015-04-10 08:15:24 -06:00
openrisc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
powerpc dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
sandbox dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
sh net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
sparc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
x86 dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00