diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-05-19 19:16:21 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-05-19 19:16:21 +0000 |
commit | 526855741b6abb970024366316b941fb6b3d2cb6 (patch) | |
tree | 7da1560ec08c513a23b23704cae3637925e5bd68 /src/ram | |
parent | 49cf5967ce31af37e61d59a00939f50bc4256761 (diff) |
- 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
Diffstat (limited to 'src/ram')
-rw-r--r-- | src/ram/ramtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |