aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-17 14:31:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-17 14:31:16 +0000
commit5d10f6a140b786f3a758e6c0dd2f026fb659f40b (patch)
treec4b1d71d65e5ee2d4af1a85d0daadcfaf28fc062 /boards
parente8ce6fcf43fbd53e80556ff4a50c1edb3f87ea00 (diff)
downloadChibiOS-5d10f6a140b786f3a758e6c0dd2f026fb659f40b.tar.gz
ChibiOS-5d10f6a140b786f3a758e6c0dd2f026fb659f40b.tar.bz2
ChibiOS-5d10f6a140b786f3a758e6c0dd2f026fb659f40b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4688 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r--boards/GENERIC_SPC560P/board.c4
-rw-r--r--boards/GENERIC_SPC560P/board.h8
2 files changed, 7 insertions, 5 deletions
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
/*