xref: /aosp_15_r20/external/coreboot/src/northbridge/intel/haswell/raminit.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef NORTHBRIDGE_INTEL_HASWELL_RAMINIT_H
4 #define NORTHBRIDGE_INTEL_HASWELL_RAMINIT_H
5 
6 #include <types.h>
7 
8 #define SPD_MEMORY_DOWN	0xff
9 
10 struct spd_info {
11 	uint8_t addresses[4];
12 	unsigned int spd_index;
13 };
14 
15 /* Mainboard callback to fill in the SPD addresses */
16 void mb_get_spd_map(struct spd_info *spdi);
17 
18 void perform_raminit(const int s3resume);
19 
20 #endif	/* NORTHBRIDGE_INTEL_HASWELL_RAMINIT_H */
21