9817a37416
Clock generator is mobo-specific. Don't touch it in raminit. Change-Id: Ie114696b7fb13b8daee8dd1393d43bc609e149b3 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5265 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2013 Vladimir Serbinenko
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef RAMINIT_H
|
|
#define RAMINIT_H
|
|
|
|
#include "nehalem.h"
|
|
|
|
void chipset_init(const int s3resume);
|
|
/* spd_addrmap is array of 4 elements:
|
|
Channel 0 Slot 0
|
|
Channel 0 Slot 1
|
|
Channel 1 Slot 0
|
|
Channel 1 Slot 1
|
|
0 means "not present"
|
|
*/
|
|
void raminit(const int s3resume, const u8 *spd_addrmap);
|
|
|
|
#endif /* RAMINIT_H */
|