aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/ironlake/raminit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel/ironlake/raminit.h')
-rw-r--r--src/northbridge/intel/ironlake/raminit.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/northbridge/intel/ironlake/raminit.h b/src/northbridge/intel/ironlake/raminit.h
new file mode 100644
index 0000000000..1a55407d39
--- /dev/null
+++ b/src/northbridge/intel/ironlake/raminit.h
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+
+#ifndef RAMINIT_H
+#define RAMINIT_H
+
+#include "ironlake.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 */