summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-08-12 07:31:53 +0900
committerTom Rini <trini@konsulko.com>2015-08-18 13:46:04 -0400
commitcc7aebe8198be062ae005448f78c7cdcbba825d4 (patch)
tree025d4cee9b286a0c5c15bf2a426c05e8d6707968 /include
parent0a5804b53a3c71dc0c9c43e5c747015b6e50e9e1 (diff)
downloadu-boot-imx-cc7aebe8198be062ae005448f78c7cdcbba825d4.zip
u-boot-imx-cc7aebe8198be062ae005448f78c7cdcbba825d4.tar.gz
u-boot-imx-cc7aebe8198be062ae005448f78c7cdcbba825d4.tar.bz2
fdtdec: fix OF_CONTROL switch
There is no case where defined(SPL_DISABLE_OF_CONTROL) is true. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/fdtdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 62acbd0..2ef3f66 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -46,7 +46,7 @@ struct fdt_memory {
#endif
#ifdef CONFIG_OF_CONTROL
-# if defined(CONFIG_SPL_BUILD) && defined(SPL_DISABLE_OF_CONTROL)
+# if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_DISABLE_OF_CONTROL)
# define OF_CONTROL 0
# else
# define OF_CONTROL 1