summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/arch-at32ap
diff options
context:
space:
mode:
authorAlex <mailinglist@miromico.ch>2008-03-17 14:55:06 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-27 15:07:16 +0200
commit60ed7951d0c9bf8de8588384134f16474367b410 (patch)
tree42e97bace8d7e3c41b6a7f4c1c42a4bc48648645 /include/asm-avr32/arch-at32ap
parent8bd8974fcddc468d66bd67f33c578f37987b302e (diff)
downloadblackbird-op-linux-60ed7951d0c9bf8de8588384134f16474367b410.tar.gz
blackbird-op-linux-60ed7951d0c9bf8de8588384134f16474367b410.zip
avr32: Allow board to define oscillator rates
On our custom board we have other oscillator rates than on atngw100 and atstk100x. Currently these rates are hardcoded in arch/avr32/mach-at32ap/at32ap700x.c. This patch moves them into board specific code. Signed-off-by: Alex Raimondi <raimondi@miromico.ch> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/arch-at32ap')
-rw-r--r--include/asm-avr32/arch-at32ap/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h
index a4e2d28bfb58..cfd3060d5b26 100644
--- a/include/asm-avr32/arch-at32ap/board.h
+++ b/include/asm-avr32/arch-at32ap/board.h
@@ -8,6 +8,12 @@
#define GPIO_PIN_NONE (-1)
+/*
+ * Clock rates for various on-board oscillators. The number of entries
+ * in this array is chip-dependent.
+ */
+extern unsigned long at32_board_osc_rates[];
+
/* Add basic devices: system manager, interrupt controller, portmuxes, etc. */
void at32_add_system_devices(void);
OpenPOWER on IntegriCloud