projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In 2007 Adrian Reber suggested that we drop ASSEMBLY in favor of __ASSEMBLER__.
[coreboot.git]
/
src
/
southbridge
/
intel
/
i82801gx
/
i82801gx.h
diff --git
a/src/southbridge/intel/i82801gx/i82801gx.h
b/src/southbridge/intel/i82801gx/i82801gx.h
index 559c896901c8458e9813ca58f79ab33fc05eba93..63c583dea5b857901cbc6d03287ab4e6555e08f0 100644
(file)
--- a/
src/southbridge/intel/i82801gx/i82801gx.h
+++ b/
src/southbridge/intel/i82801gx/i82801gx.h
@@
-32,17
+32,19
@@
#define DEFAULT_GPIOBASE 0x0480
#define DEFAULT_PMBASE 0x0500
#define DEFAULT_GPIOBASE 0x0480
#define DEFAULT_PMBASE 0x0500
-#define IO_APIC_ADDR 0xfec00000
#define HPET_ADDR 0xfed00000
#define DEFAULT_RCBA 0xfed1c000
#ifndef __ACPI__
#define DEBUG_PERIODIC_SMIS 0
#define HPET_ADDR 0xfed00000
#define DEFAULT_RCBA 0xfed1c000
#ifndef __ACPI__
#define DEBUG_PERIODIC_SMIS 0
-#if !defined(
ASSEMBLY
)
+#if !defined(
__ASSEMBLER__) && !defined(__ROMCC__
)
#if !defined(__PRE_RAM__)
#include "chip.h"
extern void i82801gx_enable(device_t dev);
#if !defined(__PRE_RAM__)
#include "chip.h"
extern void i82801gx_enable(device_t dev);
+#else
+void enable_smbus(void);
+int smbus_read_byte(unsigned device, unsigned address);
#endif
void i82801gx_enable_usbdebug(unsigned int port);
#endif
#endif
void i82801gx_enable_usbdebug(unsigned int port);
#endif