From 7dcdb3051e8bc85d8841436f1e0e8c0d6e64700c Mon Sep 17 00:00:00 2001
From: Stefan Reinauer <stepan@coresystems.de>
Date: Fri, 16 Apr 2010 01:45:44 +0000
Subject: fix romcc compiled i3100 boards. Signed-off-by: Stefan Reinauer
 <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
---
 src/northbridge/intel/i3100/raminit.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/northbridge/intel/i3100')

diff --git a/src/northbridge/intel/i3100/raminit.h b/src/northbridge/intel/i3100/raminit.h
index 828a233883..29968e82ad 100644
--- a/src/northbridge/intel/i3100/raminit.h
+++ b/src/northbridge/intel/i3100/raminit.h
@@ -30,6 +30,8 @@ struct mem_controller {
 	u16 channel1[DIMM_SOCKETS];
 };
 
+#ifndef __ROMCC__
 void sdram_initialize(int controllers, const struct mem_controller *ctrl);
+#endif
 
 #endif
-- 
cgit v1.2.3