summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/core.h
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2012-10-25 10:41:39 -0600
committerArnd Bergmann <arnd@arndb.de>2012-10-26 14:59:39 +0200
commit9c4566a117a6fe404a0e49b27ac71b631945a70f (patch)
tree21802a1dc88b6dbd4ea39f7cc11b734c4f5465c9 /arch/arm/mach-socfpga/core.h
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
downloadlinux-9c4566a117a6fe404a0e49b27ac71b631945a70f.tar.gz
linux-9c4566a117a6fe404a0e49b27ac71b631945a70f.tar.bz2
linux-9c4566a117a6fe404a0e49b27ac71b631945a70f.zip
ARM: socfpga: Enable SMP for socfpga
Enable SMP for the SOCFPGA platform. Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-socfpga/core.h')
-rw-r--r--arch/arm/mach-socfpga/core.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/core.h b/arch/arm/mach-socfpga/core.h
new file mode 100644
index 000000000000..9941caa94931
--- /dev/null
+++ b/arch/arm/mach-socfpga/core.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2012 Pavel Machek <pavel@denx.de>
+ * Copyright (C) 2012 Altera Corporation
+ *
+ * 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 __MACH_CORE_H
+#define __MACH_CORE_H
+
+extern void secondary_startup(void);
+extern void __iomem *socfpga_scu_base_addr;
+
+extern void socfpga_init_clocks(void);
+extern void socfpga_sysmgr_init(void);
+
+extern struct smp_operations socfpga_smp_ops;
+extern char secondary_trampoline, secondary_trampoline_end;
+
+#define SOCFPGA_SCU_VIRT_BASE 0xfffec000
+
+#endif