]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit4618c18a78c309c16c2437b70301066b6e9e0eb2
treef45de4217f0b08d874f9c8b62bf9956374b4bfba
parent48a8dff613259bcd2071741d1f69f2ba8099d1f4
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