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

2015-08-13 Thread Linus Walleij
On Sat, Aug 1, 2015 at 3:14 PM, Masahiro Yamada wrote: > 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

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

2015-08-03 Thread Simon Glass
On 1 August 2015 at 07:14, Masahiro Yamada wrote: > 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) && !

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

2015-08-01 Thread Tom Rini
On Sat, Aug 01, 2015 at 10:14:45PM +0900, Masahiro Yamada wrote: > 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

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

2015-08-01 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 # de