From 55f116ac0a93c43d2ac29d836320a1133a136f12 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 24 Mar 2022 01:18:02 +0100 Subject: nb/intel/snb/raminit_mrc.c: Remove set but unused variable Change-Id: I1cf656b404b0e880c061b273ef259ca40a6d499a Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63071 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/northbridge/intel/sandybridge/raminit_mrc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3