diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_common.c | 4 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_common.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index 687386d0f7..72621e3cab 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.c +++ b/src/northbridge/intel/sandybridge/raminit_common.c @@ -684,7 +684,7 @@ static void write_mrreg(ramctr_timing *ctrl, int channel, int slotrank, int reg, } /* Obtain optimal power down mode for current configuration */ -static enum pdwm_mode get_power_down_mode(ramctr_timing *ctrl) +static enum power_down_mode get_power_down_mode(ramctr_timing *ctrl) { if (ctrl->tXP > 8) return PDM_NONE; @@ -703,7 +703,7 @@ static u32 make_mr0(ramctr_timing *ctrl, u8 rank) u16 mr0reg, mch_cas, mch_wr; static const u8 mch_wr_t[12] = { 1, 2, 3, 4, 0, 5, 0, 6, 0, 7, 0, 0 }; - const enum pdwm_mode power_down = get_power_down_mode(ctrl); + const enum power_down_mode power_down = get_power_down_mode(ctrl); const bool slow_exit = power_down == PDM_DLL_OFF || power_down == PDM_APD_DLL_OFF; diff --git a/src/northbridge/intel/sandybridge/raminit_common.h b/src/northbridge/intel/sandybridge/raminit_common.h index 1622259b66..c24b3a0ce6 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.h +++ b/src/northbridge/intel/sandybridge/raminit_common.h @@ -306,7 +306,7 @@ void iosav_write_memory_test_sequence(ramctr_timing *ctrl, int channel, int slot */ #define MRC_CACHE_VERSION 5 -enum pdwm_mode { +enum power_down_mode { PDM_NONE = 0, PDM_APD = 1, PDM_PPD = 2, |