sunxi_nand_spl: Rename SPL_NAND_SUNXI to NAND_SUNXI
authorHans de Goede <hdegoede@redhat.com>
Sun, 16 Aug 2015 12:48:22 +0000 (14:48 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 31 Aug 2015 06:43:42 +0000 (08:43 +0200)
commite5268616878690037474ff36cb6efb350b5e1061
treeeb18770a99f74016e4d986911bee20ab254595cd
parent24a06c964fd457238f16531d8ed1b660c4341676
sunxi_nand_spl: Rename SPL_NAND_SUNXI to NAND_SUNXI

We eventually want to add full nand support, since it makes no sense
to build SPL with nand support and u-boot without, or the other way
around, a single option will suffice.

Renaming the Kconfig option now makes things easier when we add full
nand support in the future.

The "obj-$(CONFIG_NAND_SUNXI) += sunxi_nand_spl.o" is moved to an
"ifdef CONFIG_SPL_BUILD" block in the Makefile.

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