summaryrefslogtreecommitdiffstats
path: root/board/sunxi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-16 14:48:22 +0200
committerHans de Goede <hdegoede@redhat.com>2015-08-31 08:43:42 +0200
commite5268616878690037474ff36cb6efb350b5e1061 (patch)
treeeb18770a99f74016e4d986911bee20ab254595cd /board/sunxi
parent24a06c964fd457238f16531d8ed1b660c4341676 (diff)
downloadblackbird-obmc-uboot-e5268616878690037474ff36cb6efb350b5e1061.tar.gz
blackbird-obmc-uboot-e5268616878690037474ff36cb6efb350b5e1061.zip
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>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index d411e96c76..9c855f604d 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -108,7 +108,7 @@ int dram_init(void)
return 0;
}
-#if defined(CONFIG_SPL_NAND_SUNXI) && defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_NAND_SUNXI) && defined(CONFIG_SPL_BUILD)
static void nand_pinmux_setup(void)
{
unsigned int pin;
OpenPOWER on IntegriCloud