summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91rm92reg.h
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2007-10-25 23:02:42 +0000
committercognet <cognet@FreeBSD.org>2007-10-25 23:02:42 +0000
commitbf5c2ef02d1494f1190fcdba11368c04b9a89442 (patch)
tree76b2de4c69b1b52f85008a0ef378c353cd3b92cb /sys/arm/at91/at91rm92reg.h
parent5ddc0ba1346643892db6dec9755b5ef6beeb624a (diff)
downloadFreeBSD-src-bf5c2ef02d1494f1190fcdba11368c04b9a89442.zip
FreeBSD-src-bf5c2ef02d1494f1190fcdba11368c04b9a89442.tar.gz
Add an option to be able to override the value of the AT91 master clock
frequency. It'd be better to be able to calculate it at runtime, but we need the information very early, to setup the uart.
Diffstat (limited to 'sys/arm/at91/at91rm92reg.h')
-rw-r--r--sys/arm/at91/at91rm92reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/at91/at91rm92reg.h b/sys/arm/at91/at91rm92reg.h
index 6918149..2e0299a 100644
--- a/sys/arm/at91/at91rm92reg.h
+++ b/sys/arm/at91/at91rm92reg.h
@@ -340,7 +340,9 @@
#define AT91RM92_OHCI_PA_BASE 0x00300000
#define AT91RM92_OHCI_SIZE 0x00100000
+#ifndef AT91C_MASTER_CLOCK
#define AT91C_MASTER_CLOCK 60000000
+#endif
/* SDRAMC */
OpenPOWER on IntegriCloud