All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix compile error in sbc8560
@ 2006-09-19  3:07 Amy Fong
  0 siblings, 0 replies; only message in thread
From: Amy Fong @ 2006-09-19  3:07 UTC (permalink / raw)
  To: linuxppc-dev

The following fixes compile errors in sbc8560.

Signed-off-by: Amy Fong <amy.fong@windriver.com>


Index: linux-2.6.18-rc7/arch/ppc/platforms/85xx/sbc8560.h
===================================================================
--- linux-2.6.18-rc7.orig/arch/ppc/platforms/85xx/sbc8560.h
+++ linux-2.6.18-rc7/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)
  
Index: linux-2.6.18-rc7/arch/ppc/platforms/85xx/sbc85xx.h
===================================================================
--- linux-2.6.18-rc7.orig/arch/ppc/platforms/85xx/sbc85xx.h
+++ linux-2.6.18-rc7/arch/ppc/platforms/85xx/sbc85xx.h
@@ -49,4 +49,22 @@
 
 #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__ */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-19  8:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-19  3:07 [PATCH] fix compile error in sbc8560 Amy Fong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.