From e562f7258e573e52ab6e81f85f400999c3d9caaa Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Fri, 19 Dec 2008 03:36:48 +0000 Subject: Fix a LOT of implicit function declarations before they become errors. Signed-off-by: Corey Osgood Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/amd/pistachio/fadt.c | 1 + src/mainboard/amd/pistachio/mainboard.c | 3 +++ src/mainboard/dell/s1850/reset.c | 1 + 3 files changed, 5 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/amd/pistachio/fadt.c b/src/mainboard/amd/pistachio/fadt.c index cf0a370be1..d03ea5c796 100644 --- a/src/mainboard/amd/pistachio/fadt.c +++ b/src/mainboard/amd/pistachio/fadt.c @@ -26,6 +26,7 @@ #include #include +extern void pm_iowrite(u8 reg, u8 value); /*extern*/ u16 pm_base = 0x800; /* pm_base should be set in sb acpi */ /* pm_base should be got from bar2 of rs690. Here I compact ACPI diff --git a/src/mainboard/amd/pistachio/mainboard.c b/src/mainboard/amd/pistachio/mainboard.c index 96ea307919..82ee4c0b97 100644 --- a/src/mainboard/amd/pistachio/mainboard.c +++ b/src/mainboard/amd/pistachio/mainboard.c @@ -37,6 +37,9 @@ extern void pm2_iowrite(u8 reg, u8 value); extern int do_smbus_read_byte(u32 smbus_io_base, u32 device, u32 address); extern int do_smbus_write_byte(u32 smbus_io_base, u32 device, u32 address, u8 val); +extern void lb_add_memory_range(struct lb_memory *mem, uint32_t type, + uint64_t start, uint64_t size); + #define ADT7475_read_byte(address) \ do_smbus_read_byte(SMBUS_IO_BASE, ADT7475_ADDRESS, address) #define ADT7475_write_byte(address, val) \ diff --git a/src/mainboard/dell/s1850/reset.c b/src/mainboard/dell/s1850/reset.c index 06d8886d8d..cf9e3d8d69 100644 --- a/src/mainboard/dell/s1850/reset.c +++ b/src/mainboard/dell/s1850/reset.c @@ -1,4 +1,5 @@ #include +#include #include #include #ifndef __ROMCC__ -- cgit v1.2.3