- 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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user