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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:14 +0000 (12:19 +0200)
commit6f7fc969d5e5755e5310b26f01b55387c413a2fb
tree367d44a2bba40dca164d332480830eb1f8a63a89
parenta75638485ccd2bc78b07352e53844c4041bd9f95
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