Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 Vladimir Serbinenko |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef RAMINIT_H |
| 17 | #define RAMINIT_H |
| 18 | |
Angel Pons | 95de231 | 2020-02-17 13:08:53 +0100 | [diff] [blame^] | 19 | #include "ironlake.h" |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 20 | |
Vladimir Serbinenko | 9817a37 | 2014-02-19 22:07:12 +0100 | [diff] [blame] | 21 | void chipset_init(const int s3resume); |
Vladimir Serbinenko | 902626c | 2014-02-16 17:22:26 +0100 | [diff] [blame] | 22 | /* spd_addrmap is array of 4 elements: |
| 23 | Channel 0 Slot 0 |
| 24 | Channel 0 Slot 1 |
| 25 | Channel 1 Slot 0 |
| 26 | Channel 1 Slot 1 |
| 27 | 0 means "not present" |
| 28 | */ |
| 29 | void raminit(const int s3resume, const u8 *spd_addrmap); |
Vladimir Serbinenko | c6f6be0 | 2013-11-12 22:32:08 +0100 | [diff] [blame] | 30 | |
| 31 | #endif /* RAMINIT_H */ |