[U-Boot] [PATCH v2 13/15] fdtdec: fix OF_CONTROL switch

Masahiro Yamada yamada.masahiro at socionext.com
Sat Aug 1 15:14:43 CEST 2015


There is no case where defined(SPL_DISABLE_OF_CONTROL) is true.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

Changes in v2: None

 include/fdtdec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/fdtdec.h b/include/fdtdec.h
index 4b3f8d1..2681a64 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -48,7 +48,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
-- 
1.9.1



More information about the U-Boot mailing list