From: Masahiro Yamada Date: Tue, 11 Aug 2015 22:31:53 +0000 (+0900) Subject: fdtdec: fix OF_CONTROL switch X-Git-Tag: v2015.10-rc3~121 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cc7aebe8198be062ae005448f78c7cdcbba825d4;p=oweals%2Fu-boot.git fdtdec: fix OF_CONTROL switch There is no case where defined(SPL_DISABLE_OF_CONTROL) is true. Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- diff --git a/include/fdtdec.h b/include/fdtdec.h index 62acbd0840..2ef3f662cc 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