From 526855741b6abb970024366316b941fb6b3d2cb6 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Mon, 19 May 2003 19:16:21 +0000 Subject: - Cleanups on the romcc side including a pci interface that uses fewer registers, and is easier to hardcode. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@838 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/ram/ramtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ram') diff --git a/src/ram/ramtest.c b/src/ram/ramtest.c index 0e5e6982a3..55c22e7084 100644 --- a/src/ram/ramtest.c +++ b/src/ram/ramtest.c @@ -1,13 +1,13 @@ static void write_phys(unsigned long addr, unsigned long value) { - unsigned long *ptr; + volatile unsigned long *ptr; ptr = (void *)addr; *ptr = value; } static unsigned long read_phys(unsigned long addr) { - unsigned long *ptr; + volatile unsigned long *ptr; ptr = (void *)addr; return *ptr; } -- cgit v1.2.3