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)
committerHans de Goede <hdegoede@redhat.com>
Mon, 31 Aug 2015 06:43:42 +0000 (08:43 +0200)
commitd90ba790d8ae40c39d9e359dc71df16911b7bdb3
tree40aa93444ff41c7f191ae42e5a13294b8a696916
parentddd37fe865bee8b17842a55ab917ae597fe8af0d
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