nb/intel/sandybridge: Rename `pdwm_mode` enum
The `pdwm` part was supposed to be an abbreviation of `power down`, but it is neither self-explanatory nor properly-spelled. Rename the enum. Change-Id: I7b83c71d4534b62e18ced04eebe6a65089e1d874 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51901 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
parent
623d75e828
commit
ae5e636b96
|
@ -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;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue