Commit 44320f2b authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle

[MIPS] Add extern cobalt_board_id

Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f009bbf1
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/gt64120.h> #include <asm/gt64120.h>
#include <asm/mach-cobalt/cobalt.h> #include <cobalt.h>
extern int cobalt_board_id;
static void qube_raq_galileo_early_fixup(struct pci_dev *dev) static void qube_raq_galileo_early_fixup(struct pci_dev *dev)
{ {
......
...@@ -69,6 +69,8 @@ ...@@ -69,6 +69,8 @@
#define COBALT_BRD_ID_QUBE2 0x5 #define COBALT_BRD_ID_QUBE2 0x5
#define COBALT_BRD_ID_RAQ2 0x6 #define COBALT_BRD_ID_RAQ2 0x6
extern int cobalt_board_id;
#define PCI_CFG_SET(devfn,where) \ #define PCI_CFG_SET(devfn,where) \
GT_WRITE(GT_PCI0_CFGADDR_OFS, (0x80000000 | (PCI_SLOT (devfn) << 11) | \ GT_WRITE(GT_PCI0_CFGADDR_OFS, (0x80000000 | (PCI_SLOT (devfn) << 11) | \
(PCI_FUNC (devfn) << 8) | (where))) (PCI_FUNC (devfn) << 8) | (where)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment