Re: [U-Boot] [PATCH v3 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-17 Thread Masahiro Yamada
2015-08-12 7:31 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if

[U-Boot] [PATCH v3 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-11 Thread Masahiro Yamada
We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear away the ugly logic in include/fdtdec.h: #ifdef CONFIG_OF_CONTROL # if defined(CONFIG_SPL_BUILD) !defined(SPL_OF_CONTROL) # define OF_CONTROL 0 # else #