summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/spd/spd.c
blob: 6446a937e1bf4512b904f2dbc8a0c6549f4a4e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>

/* Copy SPD data for on-board memory */
void mainboard_fill_spd_data(struct pei_data *pei_data)
{
	pei_data->spd_addresses[0] = 0xa0;
	pei_data->spd_addresses[2] = 0xa4;
	// Enable 2x refresh mode
	pei_data->ddr_refresh_2x = 1;
	pei_data->dq_pins_interleaved = 1;
}