Skip to content

Commit

Permalink
[POWERPC] Fix compile error in sbc8560
Browse files Browse the repository at this point in the history
The following fixes compile errors in sbc8560.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Amy Fong authored and Paul Mackerras committed Sep 21, 2006
1 parent 6a1ca37 commit 8b9b5a7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/ppc/platforms/85xx/sbc8560.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
18 changes: 18 additions & 0 deletions arch/ppc/platforms/85xx/sbc85xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 8b9b5a7

Please sign in to comment.