summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-pxa/pxa.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-11-26 11:17:09 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:32 +0100
commit77b04c578c161840c9fd696ef66cf84f165838f8 (patch)
treeb38eadb26d7152e225db4c52eccc3d7d32cc5c9c /arch/arm/include/asm/arch-pxa/pxa.h
parentf9f5486c743db65e7e6583db39dd72e14d8d0f22 (diff)
downloadtalos-obmc-uboot-77b04c578c161840c9fd696ef66cf84f165838f8.tar.gz
talos-obmc-uboot-77b04c578c161840c9fd696ef66cf84f165838f8.zip
PXA: Export cpu_is_ and pxa_dram_init functions
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-pxa/pxa.h')
-rw-r--r--arch/arm/include/asm/arch-pxa/pxa.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-pxa/pxa.h b/arch/arm/include/asm/arch-pxa/pxa.h
new file mode 100644
index 0000000000..050b3cd8d8
--- /dev/null
+++ b/arch/arm/include/asm/arch-pxa/pxa.h
@@ -0,0 +1,29 @@
+/*
+ * PXA common functions
+ *
+ * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __PXA_H__
+#define __PXA_H__
+
+int cpu_is_pxa25x(void);
+int cpu_is_pxa27x(void);
+void pxa_dram_init(void);
+
+#endif /* __PXA_H__ */
OpenPOWER on IntegriCloud