summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/speed-pxa27x.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-12-03 18:02:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-05 09:30:27 +0100
commit36c47ce426cbe7aea59fab4c0218fe07cd80bdc0 (patch)
tree593e274cd48770a179626f793e0119a0b23d80d2 /arch/arm/mach-pxa/speed-pxa27x.c
parente88417b5ef9de74944bf3d8fa86f184abbac68ea (diff)
downloadbarebox-36c47ce426cbe7aea59fab4c0218fe07cd80bdc0.tar.gz
barebox-36c47ce426cbe7aea59fab4c0218fe07cd80bdc0.tar.xz
arm/mach-pxa: Initial Intel/Marvell PXA support
The core support was brought by Marc and Sascha. The cache choice was fixed by Luotao Fu. Some gpio and devices addons were provided by Robert. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-pxa/speed-pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/speed-pxa27x.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/speed-pxa27x.c b/arch/arm/mach-pxa/speed-pxa27x.c
new file mode 100644
index 0000000000..e8d147fc5d
--- /dev/null
+++ b/arch/arm/mach-pxa/speed-pxa27x.c
@@ -0,0 +1,20 @@
+/*
+ * clock.h - implementation of the PXA clock functions
+ *
+ * Copyright (C) 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
+ *
+ * This file is released under the GPLv2
+ *
+ */
+
+#include <common.h>
+#include <mach/clock.h>
+#include <mach/pxa-regs.h>
+
+/* Crystal clock: 13MHz */
+#define BASE_CLK 13000000
+
+unsigned long pxa_get_uartclk(void)
+{
+ return 14857000;
+}