From 5d10f6a140b786f3a758e6c0dd2f026fb659f40b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 17 Sep 2012 14:31:16 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4688 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/GENERIC_SPC560P/board.c | 4 +++- boards/GENERIC_SPC560P/board.h | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'boards/GENERIC_SPC560P') diff --git a/boards/GENERIC_SPC560P/board.c b/boards/GENERIC_SPC560P/board.c index 327b83eef..b41c37a50 100644 --- a/boards/GENERIC_SPC560P/board.c +++ b/boards/GENERIC_SPC560P/board.c @@ -28,7 +28,7 @@ */ void __early_init(void) { - spc563_clock_init(); + spc560p_clock_init(); } /* @@ -36,6 +36,7 @@ void __early_init(void) { */ void boardInit(void) { +#if 0 /* * Various initialization (temporary code). */ @@ -49,4 +50,5 @@ void boardInit(void) { SIU.PCR[GPIO_BUTTON4].R = 0x0100; /* IBE. */ SIU.PCR[GPIO_SCI_A_TX].R = 0x0500; /* Primary | IBE. */ SIU.PCR[GPIO_SCI_A_RX].R = 0x0500; /* Primary | IBE. */ +#endif } diff --git a/boards/GENERIC_SPC560P/board.h b/boards/GENERIC_SPC560P/board.h index f96dcb0e1..b3e74044f 100644 --- a/boards/GENERIC_SPC560P/board.h +++ b/boards/GENERIC_SPC560P/board.h @@ -22,20 +22,20 @@ #define _BOARD_H_ /* - * Setup for a generic SPC560P proto board. + * Setup for a generic SPC560Pxx proto board. */ /* * Board identifiers. */ #define BOARD_GENERIC_SPC560P -#define BOARD_NAME "Generic SPC560P" +#define BOARD_NAME "Generic SPC560P" /* * Board frequencies. */ -#if !defined(EXTCLK) -#define EXTCLK 40000000 +#if !defined(SPC560P_XOSC_CLK) +#define SPC560P_XOSC_CLK 40000000 #endif /* -- cgit v1.2.3