summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/sibyte/board.h
diff options
context:
space:
mode:
authorMark Mason <mmason@upwardaccess.com>2007-03-28 14:40:25 -0700
committerRalf Baechle <ralf@linux-mips.org>2007-04-27 16:20:24 +0100
commit8deab1144b553548fb2f1b51affdd36dcd652aaa (patch)
treeca5c971933b74f73532381db5bb76dc2dbe34dec /include/asm-mips/sibyte/board.h
parenteacb9d61919db56482dcea7ec943c9508175dc16 (diff)
downloadop-kernel-dev-8deab1144b553548fb2f1b51affdd36dcd652aaa.zip
op-kernel-dev-8deab1144b553548fb2f1b51affdd36dcd652aaa.tar.gz
[MIPS] Updated Sibyte headers
This is an update to the earlier patch for the sibyte headers, and superceeds the previous patch. Changes were necessary to get the tbprof driver working on the bcm1480. Patch to update Sibyte header files to match master versions maintained at Broadcom. This patch also corrects some whitespace problems, and (hopefully) shouldn't introduce any new ones. Signed-off-by: Mark Mason <mason@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/sibyte/board.h')
-rw-r--r--include/asm-mips/sibyte/board.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/asm-mips/sibyte/board.h b/include/asm-mips/sibyte/board.h
index 3dfe29e..73bce90 100644
--- a/include/asm-mips/sibyte/board.h
+++ b/include/asm-mips/sibyte/board.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
+ * Copyright (C) 2000,2001,2002,2003,2004 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -19,8 +19,8 @@
#ifndef _SIBYTE_BOARD_H
#define _SIBYTE_BOARD_H
-
#if defined(CONFIG_SIBYTE_SWARM) || defined(CONFIG_SIBYTE_PTSWARM) || \
+ defined(CONFIG_SIBYTE_PT1120) || defined(CONFIG_SIBYTE_PT1125) || \
defined(CONFIG_SIBYTE_CRHONE) || defined(CONFIG_SIBYTE_CRHINE) || \
defined(CONFIG_SIBYTE_LITTLESUR)
#include <asm/sibyte/swarm.h>
@@ -55,6 +55,16 @@
#define setleds(t0,t1,c0,c1,c2,c3)
#endif /* LEDS_PHYS */
+#else
+
+void swarm_setup(void);
+
+#ifdef LEDS_PHYS
+extern void setleds(char *str);
+#else
+#define setleds(s) do { } while (0)
+#endif /* LEDS_PHYS */
+
#endif /* __ASSEMBLY__ */
#endif /* _SIBYTE_BOARD_H */
OpenPOWER on IntegriCloud