blob: 6a211243a78fcf427f7556ab193a6aaade6355c2 [file] [log] [blame]
Lee Leahyc4210412015-06-29 11:37:56 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2014 Google Inc.
5 * Copyright (C) 2015 Intel Corporation.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Lee Leahyc4210412015-06-29 11:37:56 -070015 */
16
17#include <stdint.h>
18#include <string.h>
19#include <soc/pei_data.h>
20#include <soc/pei_wrapper.h>
pchandrie57e7262015-09-14 14:11:38 -070021#include "boardid.h"
Rizwan Qureshi5ff73902016-08-24 20:50:54 +053022#include "spd/spd.h"
Lee Leahyc4210412015-06-29 11:37:56 -070023
24void mainboard_fill_pei_data(struct pei_data *pei_data)
25{
Rizwan Qureshi5ff73902016-08-24 20:50:54 +053026 mainboard_fill_dq_map_data(&pei_data->dq_map);
27 mainboard_fill_dqs_map_data(&pei_data->dqs_map);
28 mainboard_fill_rcomp_res_data(&pei_data->RcompResistor);
29 mainboard_fill_rcomp_strength_data(&pei_data->RcompTarget);
Lee Leahyc4210412015-06-29 11:37:56 -070030}