Remove lib/ramtest.c-include from all CAR boards.
Remove many more .c-includes from i945 based boards. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -35,3 +35,7 @@ ramstage-y += i82801gx_watchdog.c
|
||||
|
||||
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += i82801gx_smi.c
|
||||
smm-$(CONFIG_HAVE_SMI_HANDLER) += i82801gx_smihandler.c
|
||||
|
||||
romstage-y += i82801gx_early_smbus.c
|
||||
romstage-$(CONFIG_USBDEBUG) += i82801gx_usb_debug.c
|
||||
|
||||
|
@@ -18,11 +18,17 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <arch/romcc_io.h>
|
||||
#include <console/console.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_def.h>
|
||||
#include "i82801gx.h"
|
||||
#include "i82801gx_smbus.h"
|
||||
|
||||
static void enable_smbus(void)
|
||||
int smbus_read_byte(unsigned device, unsigned address);
|
||||
|
||||
void enable_smbus(void)
|
||||
{
|
||||
device_t dev;
|
||||
|
||||
@@ -52,7 +58,7 @@ static void enable_smbus(void)
|
||||
print_debug("SMBus controller enabled.\n");
|
||||
}
|
||||
|
||||
static inline int smbus_read_byte(unsigned device, unsigned address)
|
||||
int smbus_read_byte(unsigned device, unsigned address)
|
||||
{
|
||||
return do_smbus_read_byte(SMBUS_IO_BASE, device, address);
|
||||
}
|
||||
|
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <device/smbus_def.h>
|
||||
|
||||
void enable_smbus(void);
|
||||
|
||||
static void smbus_delay(void)
|
||||
{
|
||||
inb(0x80);
|
||||
|
Reference in New Issue
Block a user