Browse Source

PXA: Export cpu_is_ and pxa_dram_init functions

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Marek Vasut 13 năm trước cách đây
mục cha
commit
77b04c578c
1 tập tin đã thay đổi với 29 bổ sung0 xóa
  1. 29 0
      arch/arm/include/asm/arch-pxa/pxa.h

+ 29 - 0
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__ */