summaryrefslogtreecommitdiff
path: root/src/lib/ramtest.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-03-19 02:33:40 +0000
committerMyles Watson <mylesgw@gmail.com>2010-03-19 02:33:40 +0000
commit342619526c0e7bd084c6739782e4b332e01fa564 (patch)
tree84a934c096bf9e89e4e76e52d66ff32db049a76c /src/lib/ramtest.c
parent78acf932912669eb0eb7f7280da1b3c550035ebb (diff)
Get rid of a few warnings:
1. Add some more prototypes to lib.h 2. Include console.h when not using romcc 3. Eliminate an unused function 4. Set a default for SSE2, since it is just for ramtest performance Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5260 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/ramtest.c')
-rw-r--r--src/lib/ramtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c
index 6268aaa6cd..d707bf2385 100644
--- a/src/lib/ramtest.c
+++ b/src/lib/ramtest.c
@@ -1,3 +1,5 @@
+#include <lib.h> /* Prototypes */
+
static void write_phys(unsigned long addr, unsigned long value)
{
// Assembler in lib/ is very ugly. But we properly guarded