baytrail: minor style

use IS_ENABLED() over #if brackets

Change-Id: I101f99971c0f7b5311ef19cc9832713ab0696935
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/5692
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Patrick Georgi 2014-05-07 20:20:10 +02:00 committed by Kyösti Mälkki
parent 802a8ece3f
commit 5b33dc1ec9
1 changed files with 1 additions and 3 deletions

View File

@ -118,9 +118,7 @@ void raminit(struct mrc_params *mp, int prev_sleep_state)
mp->version = MRC_PARAMS_VER;
mp->console_out = &send_to_console;
mp->prev_sleep_state = prev_sleep_state;
#if CONFIG_MRC_RMT
mp->rmt_enabled = 1;
#endif
mp->rmt_enabled = IS_ENABLED(CONFIG_MRC_RMT);
if (recovery_mode_enabled()) {
printk(BIOS_DEBUG, "Recovery mode: not using MRC cache.\n");
} else if (!mrc_cache_get_current(&cache)) {