[U-Boot] [PATCH 13/19] PXA: Export cpu_is_ and pxa_dram_init functions

Marek Vasut marek.vasut at gmail.com
Sat Nov 26 12:39:16 CET 2011


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
 arch/arm/include/asm/arch-pxa/pxa.h |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-pxa/pxa.h

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 0000000..050b3cd
--- /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 at 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__ */
-- 
1.7.7.1



More information about the U-Boot mailing list