mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig
authorHans de Goede <hdegoede@redhat.com>
Fri, 21 Aug 2015 19:49:51 +0000 (21:49 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:14 +0000 (12:19 +0200)
commitf5b7c326174c30db780d54d3cbc3719040fac51f
treef7059895540843d35cfefe87296e2d02c442e663
parent299f0b3fc697d64b996350ce34e552f915ca63d3
mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig

Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig, just like
SYS_NAND_BUSWIDTH_16BIT this is only enabled on some SoCs using depends,
to avoid double defining it for SoCs which have not yet moved to Kconfig
for this.

Having this in Kconfig is useful because this is something which may
differ from one board to the other even when using the same SoC.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/Kconfig
include/configs/sunxi-common.h