/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef RAMINIT_H #define RAMINIT_H #include #include "pei_data.h" #define SPD_MEMORY_DOWN 0xff struct spd_info { uint8_t addresses[4]; unsigned int spd_index; }; /* Mainboard-specific USB configuration */ extern const struct usb2_port_setting mainboard_usb2_ports[MAX_USB2_PORTS]; extern const struct usb3_port_setting mainboard_usb3_ports[MAX_USB3_PORTS]; /* Mainboard callback to fill in the SPD addresses in MRC format */ void mb_get_spd_map(struct spd_info *spdi); void sdram_initialize(struct pei_data *pei_data); void setup_sdram_meminfo(struct pei_data *pei_data); /* save_mrc_data() must be called after cbmem has been initialized. */ void save_mrc_data(struct pei_data *pei_data); #endif /* RAMINIT_H */