diff options
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit.h | 4 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_mrc.c | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit.h b/src/northbridge/intel/sandybridge/raminit.h index dd4e572119..fa9fa98680 100644 --- a/src/northbridge/intel/sandybridge/raminit.h +++ b/src/northbridge/intel/sandybridge/raminit.h @@ -9,10 +9,6 @@ #define BOOT_PATH_RESET 1 #define BOOT_PATH_RESUME 2 -void sdram_initialize(struct pei_data *pei_data); -void save_mrc_data(struct pei_data *pei_data); void mainboard_fill_pei_data(struct pei_data *pei_data); -int fixup_sandybridge_errata(void); -void setup_sdram_meminfo(struct pei_data *pei_data); #endif /* RAMINIT_H */ diff --git a/src/northbridge/intel/sandybridge/raminit_mrc.c b/src/northbridge/intel/sandybridge/raminit_mrc.c index fbb2b6eebb..0bc33b6c8e 100644 --- a/src/northbridge/intel/sandybridge/raminit_mrc.c +++ b/src/northbridge/intel/sandybridge/raminit_mrc.c @@ -49,7 +49,7 @@ #define MRC_CACHE_VERSION 0 -void save_mrc_data(struct pei_data *pei_data) +static void save_mrc_data(struct pei_data *pei_data) { u16 c1, c2, checksum; @@ -127,7 +127,7 @@ static void prepare_mrc_cache(struct pei_data *pei_data) * * @param pei_data: configuration data for UEFI PEI reference code */ -void sdram_initialize(struct pei_data *pei_data) +static void sdram_initialize(struct pei_data *pei_data) { int (*entry)(struct pei_data *pei_data) __attribute__((regparm(1))); @@ -320,6 +320,8 @@ static void disable_p2p(void) RCBA32(FD) |= PCH_DISABLE_P2P; } +static void setup_sdram_meminfo(struct pei_data *pei_data); + void perform_raminit(int s3resume) { struct pei_data pei_data; @@ -390,7 +392,7 @@ void perform_raminit(int s3resume) setup_sdram_meminfo(&pei_data); } -void setup_sdram_meminfo(struct pei_data *pei_data) +static void setup_sdram_meminfo(struct pei_data *pei_data) { u32 addr_decoder_common, addr_decode_ch[2]; struct memory_info *mem_info; |