Add Broadcom's code for bcm63xx support
[project/bcm63xx/atf.git] / plat / bcm / bcm_private.h
1 /*
2 <:copyright-BRCM:2012:DUAL/GPL:standard
3
4 Copyright (c) 2012 Broadcom
5 All Rights Reserved
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License, version 2, as published by
9 the Free Software Foundation (the "GPL").
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16
17 A copy of the GPL is available at http://www.broadcom.com/licenses/GPLv2.php, or by
18 writing to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
20
21 :>
22 */
23
24 #ifndef __BCM_PRIVATE_H
25 #define __BCM_PRIVATE_H
26
27 void bcm_configure_mmu_el3(unsigned long total_base, unsigned long total_size,
28 unsigned long ro_start, unsigned long ro_limit,
29 unsigned long coh_start, unsigned long coh_limit);
30
31 void plat_bcm_io_setup(void);
32 unsigned int plat_bcm_calc_core_pos(u_register_t mpidr);
33
34 int dt_add_psci_node(void *fdt);
35 int dt_add_psci_cpu_enable_methods(void *fdt);
36
37 #endif /*__BCM_PRIVATE_H*/