|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * arch/ppc64/kernel/maple_setup.c
|
|
|
+ * Maple (970 eval board) setup code
|
|
|
*
|
|
|
* (c) Copyright 2004 Benjamin Herrenschmidt (benh@kernel.crashing.org),
|
|
|
* IBM Corp.
|
|
@@ -62,19 +62,14 @@
|
|
|
#include <asm/mpic.h>
|
|
|
#include <asm/udbg.h>
|
|
|
|
|
|
+#include "maple.h"
|
|
|
+
|
|
|
#ifdef DEBUG
|
|
|
#define DBG(fmt...) udbg_printf(fmt)
|
|
|
#else
|
|
|
#define DBG(fmt...)
|
|
|
#endif
|
|
|
|
|
|
-extern int maple_set_rtc_time(struct rtc_time *tm);
|
|
|
-extern void maple_get_rtc_time(struct rtc_time *tm);
|
|
|
-extern unsigned long maple_get_boot_time(void);
|
|
|
-extern void maple_calibrate_decr(void);
|
|
|
-extern void maple_pci_init(void);
|
|
|
-extern void maple_pcibios_fixup(void);
|
|
|
-extern int maple_pci_get_legacy_ide_irq(struct pci_dev *dev, int channel);
|
|
|
extern void generic_find_legacy_serial_ports(u64 *physport,
|
|
|
unsigned int *default_speed);
|
|
|
|