summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-10-05 09:07:10 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-10-05 09:07:10 +0000
commitd0835953506263b0d9218b62176693315f2ef2f3 (patch)
tree677ecbe10516269e4870c4ca745cbc4259e8afc0 /src/lib
parentcc0dc7f839f5ccc3361e186f6bbc4c9a48155c78 (diff)
Remove lib/ramtest.c-include from all CAR boards.
Remove many more .c-includes from i945 based boards. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.inc1
-rw-r--r--src/lib/ramtest.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 26ab1a7d73..ed52ea940c 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -21,6 +21,7 @@ romstage-y += memcpy.c
romstage-y += memcmp.c
romstage-y += cbfs.c
romstage-y += lzma.c
+romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
#romstage-y += lzmadecode.c
romstage-$(CONFIG_CONSOLE_NE2K) += ne2k.c
romstage-$(CONFIG_CONSOLE_NE2K) += compute_ip_checksum.c
diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c
index abda1065aa..3f4657fa8f 100644
--- a/src/lib/ramtest.c
+++ b/src/lib/ramtest.c
@@ -1,4 +1,6 @@
+#include <stdint.h>
#include <lib.h> /* Prototypes */
+#include <console/console.h>
static void write_phys(unsigned long addr, u32 value)
{