From 6a642c2acdb36efa89ad8bfb0e9a1798dcc79f9a Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 26 Dec 2018 20:41:38 +0800 Subject: small update of _pei_ram_param --- src/northbridge/intel/haswell/do_raminit_frag.c | 6 +++--- src/northbridge/intel/haswell/pei_ram.h | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/northbridge/intel/haswell/do_raminit_frag.c b/src/northbridge/intel/haswell/do_raminit_frag.c index 83e6718cee..49c8227eed 100644 --- a/src/northbridge/intel/haswell/do_raminit_frag.c +++ b/src/northbridge/intel/haswell/do_raminit_frag.c @@ -469,9 +469,9 @@ void fill_ram_param(pei_ram_param *param, struct pei_data *pd) { memset(param, 0, sizeof(pei_ram_param)); param->v00 = 1; - param->v03[0] = 1; - param->v03[14] = 1; - param->v03[0x21] = 1; + param->v03 = 1; + param->v08[9] = 1; + param->v08[0x1c] = 1; param->chan0_disabled = pd->dimm_channel0_disabled; param->chan1_disabled = pd->dimm_channel1_disabled; param->v2c[0] = 1; diff --git a/src/northbridge/intel/haswell/pei_ram.h b/src/northbridge/intel/haswell/pei_ram.h index f8b0394a17..2d9bdcbb43 100644 --- a/src/northbridge/intel/haswell/pei_ram.h +++ b/src/northbridge/intel/haswell/pei_ram.h @@ -24,7 +24,9 @@ struct _pei_ram_param { uint8_t v00; // 0x00 uint16_t max_ddr3_freq; // 0x01 - uint8_t v03[0x27]; // 0x03 + uint8_t v03; + uint32_t v04; + uint8_t v08[0x22]; uint8_t chan0_disabled; // 0x2a uint8_t chan1_disabled; // 0x2b uint8_t v2c[0x2b]; // 0x2c -- cgit v1.2.3