summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2006-09-18 23:07:24 -0400
committerPaul Mackerras <paulus@samba.org>2006-09-21 22:59:38 +1000
commit8b9b5a77e3aeb9650b511a8be4c61632999537db (patch)
tree1e704132f4fd02db24cf0e73ab6e0c31d1d74e77
parent6a1ca373a16b0e170164ab8a2d6d01eab2a22f6e (diff)
downloadlinux-3.10-8b9b5a77e3aeb9650b511a8be4c61632999537db.tar.gz
linux-3.10-8b9b5a77e3aeb9650b511a8be4c61632999537db.tar.bz2
linux-3.10-8b9b5a77e3aeb9650b511a8be4c61632999537db.zip
[POWERPC] Fix compile error in sbc8560
The following fixes compile errors in sbc8560. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/ppc/platforms/85xx/sbc8560.h1
-rw-r--r--arch/ppc/platforms/85xx/sbc85xx.h18
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/ppc/platforms/85xx/sbc8560.h b/arch/ppc/platforms/85xx/sbc8560.h
index c7d61cf3a44..e5e156f6010 100644
--- a/arch/ppc/platforms/85xx/sbc8560.h
+++ b/arch/ppc/platforms/85xx/sbc8560.h
@@ -14,6 +14,7 @@
#define __MACH_SBC8560_H__
#include <platforms/85xx/sbc85xx.h>
+#include <asm/irq.h>
#define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
diff --git a/arch/ppc/platforms/85xx/sbc85xx.h b/arch/ppc/platforms/85xx/sbc85xx.h
index 21ea7a55639..51df4dc04e2 100644
--- a/arch/ppc/platforms/85xx/sbc85xx.h
+++ b/arch/ppc/platforms/85xx/sbc85xx.h
@@ -49,4 +49,22 @@ extern void sbc8560_init_IRQ(void) __init;
#define MPC85XX_PCI1_IO_SIZE 0x01000000
+/* FCC1 Clock Source Configuration. These can be
+ * redefined in the board specific file.
+ * Can only choose from CLK9-12 */
+#define F1_RXCLK 12
+#define F1_TXCLK 11
+
+/* FCC2 Clock Source Configuration. These can be
+ * redefined in the board specific file.
+ * Can only choose from CLK13-16 */
+#define F2_RXCLK 13
+#define F2_TXCLK 14
+
+/* FCC3 Clock Source Configuration. These can be
+ * redefined in the board specific file.
+ * Can only choose from CLK13-16 */
+#define F3_RXCLK 15
+#define F3_TXCLK 16
+
#endif /* __PLATFORMS_85XX_SBC85XX_H__ */