From 5b33dc1ec922ca0025472d87a51bf1b7844b03e6 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 7 May 2014 20:20:10 +0200 Subject: [PATCH] baytrail: minor style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use IS_ENABLED() over #if brackets Change-Id: I101f99971c0f7b5311ef19cc9832713ab0696935 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/5692 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/soc/intel/baytrail/romstage/raminit.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/soc/intel/baytrail/romstage/raminit.c b/src/soc/intel/baytrail/romstage/raminit.c index dc840b0fe8..352b86ffa2 100644 --- a/src/soc/intel/baytrail/romstage/raminit.c +++ b/src/soc/intel/baytrail/romstage/raminit.c @@ -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)) {