summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-24 01:18:02 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 11:00:33 +0000
commit55f116ac0a93c43d2ac29d836320a1133a136f12 (patch)
treee8db9413e6b984d5020c18f25347a5301401de30 /src/northbridge/intel/sandybridge
parent990ef56d1bab37ebf9e0d1ed24e96d7747451824 (diff)
nb/intel/snb/raminit_mrc.c: Remove set but unused variable
Change-Id: I1cf656b404b0e880c061b273ef259ca40a6d499a Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63071 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/northbridge/intel/sandybridge')
-rw-r--r--src/northbridge/intel/sandybridge/raminit_mrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_mrc.c b/src/northbridge/intel/sandybridge/raminit_mrc.c
index 0bc33b6c8e..a30525ed30 100644
--- a/src/northbridge/intel/sandybridge/raminit_mrc.c
+++ b/src/northbridge/intel/sandybridge/raminit_mrc.c
@@ -394,7 +394,7 @@ void perform_raminit(int s3resume)
static void setup_sdram_meminfo(struct pei_data *pei_data)
{
- u32 addr_decoder_common, addr_decode_ch[2];
+ u32 addr_decode_ch[2];
struct memory_info *mem_info;
struct dimm_info *dimm;
int dimm_size;
@@ -404,7 +404,6 @@ static void setup_sdram_meminfo(struct pei_data *pei_data)
mem_info = cbmem_add(CBMEM_ID_MEMINFO, sizeof(struct memory_info));
memset(mem_info, 0, sizeof(struct memory_info));
- addr_decoder_common = mchbar_read32(MAD_CHNL);
addr_decode_ch[0] = mchbar_read32(MAD_DIMM_CH0);
addr_decode_ch[1] = mchbar_read32(MAD_DIMM_CH1);