[U-Boot] [PATCH 3/4] Move CONFIG_NAND_MXS to defconfig

Jagan Teki
2017-01-19T15:46:18Z

On Wed, Jan 11, 2017 at 12:14 AM, Tom Rini <trini@konsulko.com> wrote:
> On Sat, Jan 07, 2017 at 12:42:34PM +0100, Jagan Teki wrote:
>
>> Cc: Stefano Babic <sbabic@denx.de>
>> Signed-off-by: Jagan Teki <jagan@openedev.com>
> [snip]
>> 33 files changed, 21 insertions(+), 12 deletions(-)
> [snip]
>> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
>> index 65bb040..682e4e3 100644
>> --- a/drivers/mtd/nand/Kconfig
>> +++ b/drivers/mtd/nand/Kconfig
>> @@ -82,7 +82,6 @@ config NAND_ARASAN
>>
>> config NAND_MXS
>> bool "MXS NAND support"
>> - depends on MX6
>> help
>> This enables NAND driver for the NAND flash controller on the
>> MXS processors.
>
> I think we've got something going wrong here. Why are we removing the
> depends on line? I know we can't make this a default y until 'NAND'
> gets migrated, and that's non-trivial. Thanks!

Yes, I was trying to add 'depends on' but ended-up making more
complex, because there is common config ARCH_MXC like Linux and
when I add supported targets MX5 || MX6 || MX7 || TARGET_TS4800 ||
TARGET_APX4DEVKIT || TARGET_MX53EVK || TARGET_M53EVK ||
TARGET_MX53LOCO ||
TARGET_MX35PDK || TARGET_VF610TWR || TARGET_FLEA3 ||
TARGET_EMBESTMX6BOARDS || TARGET_WOODBURN_SD || TARGET_MX53SMD ||
TARGET_MX31PDK || TARGET_MX51EVK || TARGET_APF27 || TARGET_WOODBURN ||
TARGET_ADVANTECH_DMS_BA16 || TARGET_MX25PDK || TARGET_ZMX25

it becomes to-worse so opted to remove 'depends on' like few others in Kconfig.