u-boot/board/ti
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
..
am43xx usb: modify usb_gadget_handle_interrupts to take controller index 2015-04-14 05:48:11 +02:00
am335x dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
am3517crane omap3/am33xx: mux: fix several checkpatch issues 2014-10-23 11:53:02 -04:00
beagle MAINTAINERS, git-mailrc: Update my email address 2015-03-02 08:37:50 -05:00
beagle_x15 ti: dwc3: Enable clocks in enable_basic_clocks() in hw_data.c 2015-04-16 15:08:36 -04:00
dra7xx usb: modify usb_gadget_handle_interrupts to take controller index 2015-04-14 05:48:11 +02:00
evm MAINTAINERS, git-mailrc: Update my email address 2015-03-02 08:37:50 -05:00
ks2_evm keystone2: ddr3: eliminate using global ddr3_size variable 2015-02-16 12:41:41 -05:00
omap5_uevm OMAP5+: sata/scsi: Implement scsi_init() 2014-10-10 09:44:42 -04:00
panda ARM: OMAP4: Panda: rework DMM logic 2015-01-05 15:13:45 -05:00
sdp3430 omap_hsmmc: Board-specific TWL4030 MMC power initializations 2014-12-04 21:28:15 -05:00
sdp4430 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
ti814x kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
ti816x kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00