abaaa1e30f725e18e82e404a4d43530265f26f1c
[coreboot.git] / src / northbridge / intel / i3100 / raminit.h
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2008 Arastra, Inc.
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 version 2 as
8  * published by the Free Software Foundation.
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.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18  *
19  */
20
21 /* This code is based on src/northbridge/intel/e7520/raminit.h */
22
23 #ifndef NORTHBRIDGE_INTEL_I3100_RAMINIT_H
24 #define NORTHBRIDGE_INTEL_I3100_RAMINIT_H
25
26 #define DIMM_SOCKETS 4
27 struct mem_controller {
28         u32 node_id;
29         device_t f0, f1, f2, f3;
30         u16 channel0[DIMM_SOCKETS];
31         u16 channel1[DIMM_SOCKETS];
32 };
33
34 #endif