diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-07 20:20:10 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-07 22:08:35 +0200 |
commit | 5b33dc1ec922ca0025472d87a51bf1b7844b03e6 (patch) | |
tree | 75786c8fd869cfbb8d869c1314b177908858676f /src/soc/intel | |
parent | 802a8ece3f089ec38c6e1d141f618fc58bbc0791 (diff) | |
download | coreboot-5b33dc1ec922ca0025472d87a51bf1b7844b03e6.tar.xz |
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)
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/baytrail/romstage/raminit.c | 4 |
1 files changed, 1 insertions, 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)) { |