diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-01-28 01:06:39 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-01-28 01:06:39 +0000 |
commit | 1c2734f5b67f08f8b440ca29b74831e05e4206bb (patch) | |
tree | ec27ae4a71da2278bc911c5a279df30dee7d7f83 /src/southbridge | |
parent | 2c439c3b4ea230d141b926416fa11f898dbf8b5d (diff) | |
download | coreboot-1c2734f5b67f08f8b440ca29b74831e05e4206bb.tar.xz |
Fix Bimini build
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6307 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/sb800/sb800.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h index cd9fb9ba9c..caaeee992b 100644 --- a/src/southbridge/amd/sb800/sb800.h +++ b/src/southbridge/amd/sb800/sb800.h @@ -40,28 +40,28 @@ #define ACPI_GPE0_BLK (SB800_ACPI_IO_BASE + 0x10) /* 8 bytes */ #define ACPI_CPU_CONTROL (SB800_ACPI_IO_BASE + 0x08) /* 6 bytes */ -extern void pm_iowrite(u8 reg, u8 value); -extern u8 pm_ioread(u8 reg); -extern void pm2_iowrite(u8 reg, u8 value); -extern u8 pm2_ioread(u8 reg); -extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val); +void pm_iowrite(u8 reg, u8 value); +u8 pm_ioread(u8 reg); +void pm2_iowrite(u8 reg, u8 value); +u8 pm2_ioread(u8 reg); +void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val); #define REV_SB800_A11 0x11 #define REV_SB800_A12 0x12 -void sb800_enable(device_t dev); #ifdef __PRE_RAM__ void sb800_lpc_port80(void); void sb800_pci_port80(void); void sb800_clk_output_48Mhz(void); -#else -/* void sb800_setup_sata_phys(struct device *dev); */ -#endif int s3_save_nvram_early(u32 dword, int size, int nvram_pos); int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos); void sb800_enable_usbdebug(unsigned int port); +#else +void sb800_enable(device_t dev); +void __attribute__((weak)) sb800_setup_sata_phys(struct device *dev); +#endif #endif /* SB800_H */ |