Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 1 | /* |
| 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 Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #include <stdint.h> |
| 18 | #include <string.h> |
| 19 | #include <soc/pei_data.h> |
| 20 | #include <soc/pei_wrapper.h> |
pchandri | e57e726 | 2015-09-14 14:11:38 -0700 | [diff] [blame] | 21 | #include "boardid.h" |
Rizwan Qureshi | 5ff7390 | 2016-08-24 20:50:54 +0530 | [diff] [blame] | 22 | #include "spd/spd.h" |
Lee Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 23 | |
| 24 | void mainboard_fill_pei_data(struct pei_data *pei_data) |
| 25 | { |
Rizwan Qureshi | 5ff7390 | 2016-08-24 20:50:54 +0530 | [diff] [blame] | 26 | 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 Leahy | c421041 | 2015-06-29 11:37:56 -0700 | [diff] [blame] | 30 | } |