xref: /openbmc/linux/arch/arm/mach-socfpga/core.h (revision d6dd735f)
19c4566a1SDinh Nguyen /*
29c4566a1SDinh Nguyen  * Copyright 2012 Pavel Machek <pavel@denx.de>
39c4566a1SDinh Nguyen  * Copyright (C) 2012 Altera Corporation
49c4566a1SDinh Nguyen  *
59c4566a1SDinh Nguyen  * This program is free software; you can redistribute it and/or modify
69c4566a1SDinh Nguyen  * it under the terms of the GNU General Public License as published by
79c4566a1SDinh Nguyen  * the Free Software Foundation; either version 2 of the License, or
89c4566a1SDinh Nguyen  * (at your option) any later version.
99c4566a1SDinh Nguyen  *
109c4566a1SDinh Nguyen  * This program is distributed in the hope that it will be useful,
119c4566a1SDinh Nguyen  * but WITHOUT ANY WARRANTY; without even the implied warranty of
129c4566a1SDinh Nguyen  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
139c4566a1SDinh Nguyen  * GNU General Public License for more details.
149c4566a1SDinh Nguyen  *
159c4566a1SDinh Nguyen  * You should have received a copy of the GNU General Public License
169c4566a1SDinh Nguyen  * along with this program; if not, write to the Free Software
179c4566a1SDinh Nguyen  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
189c4566a1SDinh Nguyen  */
199c4566a1SDinh Nguyen 
209c4566a1SDinh Nguyen #ifndef __MACH_CORE_H
219c4566a1SDinh Nguyen #define __MACH_CORE_H
229c4566a1SDinh Nguyen 
23d6dd735fSDinh Nguyen extern void socfpga_secondary_startup(void);
249c4566a1SDinh Nguyen extern void __iomem *socfpga_scu_base_addr;
259c4566a1SDinh Nguyen 
269c4566a1SDinh Nguyen extern void socfpga_init_clocks(void);
279c4566a1SDinh Nguyen extern void socfpga_sysmgr_init(void);
289c4566a1SDinh Nguyen 
299c4566a1SDinh Nguyen extern struct smp_operations socfpga_smp_ops;
309c4566a1SDinh Nguyen extern char secondary_trampoline, secondary_trampoline_end;
319c4566a1SDinh Nguyen 
32d6dd735fSDinh Nguyen extern unsigned long cpu1start_addr;
33d6dd735fSDinh Nguyen 
349c4566a1SDinh Nguyen #define SOCFPGA_SCU_VIRT_BASE   0xfffec000
359c4566a1SDinh Nguyen 
369c4566a1SDinh Nguyen #endif
37