ti: keystone: Clean up or migrate some NAND related options.
authorTom Rini <trini@konsulko.com>
Mon, 13 Sep 2021 00:32:24 +0000 (20:32 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 28 Sep 2021 01:38:34 +0000 (21:38 -0400)
commitc8c934b91061817757560b7bf9e195d5ddcbd3b3
treef45de4217f0b08d874f9c8b62bf9956374b4bfba
parentbdeedc16e140bdb9d85af9dfd224e66b1f60385f
ti: keystone: Clean up or migrate some NAND related options.

The COFNIG_KEYSTONE_RBL_NAND option is always enabled for the driver on
keystone platforms, but not older davinci platforms.  Use def_bool for
the symbol. For CONFIG_KEYSTONE_NAND_MAX_RBL_PAGE, it's only used within
the driver and derived from another symbol, so remove CONFIG from the
name.  Finally, CONFIG_KEYSTONE_NAND_MAX_RBL_SIZE is a bit more fixed.
For now, use the value directly.  Long term, as part of DM'ifying NAND,
this should come from the device tree.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/davinci_nand.c
include/configs/ti_armv7_keystone2.h