u-boot/arch/powerpc/cpu/ppc4xx
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
..
4xx_ibm_ddr2_autocalib.c ppc4xx: Remove 4xx NAND booting support 2014-03-07 10:59:06 -05:00
4xx_pci.c ppc4xx: remove dead code 2015-01-16 10:24:14 -05:00
4xx_pcie.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
4xx_uart.c SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
40x_spd_sdram.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
44x_spd_ddr.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
44x_spd_ddr2.c powerpc: ppc4xx: Add ramboot config for glacier 2015-02-12 10:35:30 -07:00
bedbug_405.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cache.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_chip_config.c Merge branch 'master' of git://git.denx.de/u-boot-i2c 2013-07-24 09:50:24 -04:00
cmd_ecctest.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.mk powerpc: ppc4xx: canyonlands: config: Tidy up CONFIGs and config.mk 2015-02-12 10:35:30 -07:00
cpu.c powerpc: ppc4xx: remove board support for bluestone 2014-10-10 09:44:43 -04:00
cpu_init.c powerpc: ppc4xx: canyonlands: Move to generic board 2015-02-12 10:35:30 -07:00
dcr.S Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
denali_data_eye.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
denali_spd_ddr2.c Merge branch 'master' of git://git.denx.de/u-boot-i2c 2013-07-24 09:50:24 -04:00
ecc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ecc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fdt.c fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
gpio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupts.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
kgdb.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
Makefile ppc4xx: Remove 4xx NAND booting support 2014-03-07 10:59:06 -05:00
miiphy.c SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
reginfo.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
sdram.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sdram.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speed.c powerpc: ppc4xx: remove board support for bluestone 2014-10-10 09:44:43 -04:00
spl_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
start.S powerpc: ppc4xx: Call board_init_f_mem() for generic board 2015-02-12 10:35:31 -07:00
tlb.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
traps.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot-spl.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.lds powerpc: ppc4xx: Allow the end of u-boot.bin to be found 2015-02-12 10:35:31 -07:00
uic.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb_ohci.c include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
usb_ohci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00