image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sat, 21 May 2016 09:06:31 +0000 (05:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:47:55 +0000 (15:47 -0400)
commit56adbb38727320375b2f695bd04600d766d8a1b3
tree5090a5052e19d5193b6e4e17a9efa6168175b6cc
parentba9eb6c7eb3490f72f07bc712f7196fb4e0fe80c
image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro.

In order for CONFIG_IS_ENABLED(FOO) to work we need to move the changes
that CONFIG_FIT_DISABLE_SHA256 makes to be prior to the evaluation by
CONFIG_IS_ENABLED(foo)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
[trini: Move CONFIG_FIT_DISABLE_SHA256 parts to fix build breakage]
Signed-off-by: Tom Rini <trini@konsulko.com>
include/image.h