board_r: env: Use IS_ENABLED() instead of #ifdefs
authorOvidiu Panait <ovidiu.panait@windriver.com>
Wed, 6 May 2020 17:38:43 +0000 (20:38 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 21:12:41 +0000 (17:12 -0400)
commit9441f8cbfe30e9addd12ad7735e36b4815be65b1
treed92f4b5a8e0389794d3655853308175373314782
parentb8879f207405ff55c91bc1ad68ea9245c1fd168c
board_r: env: Use IS_ENABLED() instead of #ifdefs

Use IS_ENABLED() instead of #ifdef in should_load_env and initr_env
functions.

No functional change intended.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
common/board_r.c