xref: /rk3399_rockchip-uboot/arch/powerpc/include/asm/fsl_secure_boot.h (revision 7065b7d466dfc4fbfa8a608cf21206efe59c01d9)
1*7065b7d4SRuchika Gupta /*
2*7065b7d4SRuchika Gupta  * Copyright 2010-2011 Freescale Semiconductor, Inc.
3*7065b7d4SRuchika Gupta  *
4*7065b7d4SRuchika Gupta  * See file CREDITS for list of people who contributed to this
5*7065b7d4SRuchika Gupta  * project.
6*7065b7d4SRuchika Gupta  *
7*7065b7d4SRuchika Gupta  * This program is free software; you can redistribute it and/or
8*7065b7d4SRuchika Gupta  * modify it under the terms of the GNU General Public License as
9*7065b7d4SRuchika Gupta  * published by the Free Software Foundation; either version 2 of
10*7065b7d4SRuchika Gupta  * the License, or (at your option) any later version.
11*7065b7d4SRuchika Gupta  *
12*7065b7d4SRuchika Gupta  * This program is distributed in the hope that it will be useful,
13*7065b7d4SRuchika Gupta  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14*7065b7d4SRuchika Gupta  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15*7065b7d4SRuchika Gupta  * GNU General Public License for more details.
16*7065b7d4SRuchika Gupta  *
17*7065b7d4SRuchika Gupta  * You should have received a copy of the GNU General Public License
18*7065b7d4SRuchika Gupta  * along with this program; if not, write to the Free Software
19*7065b7d4SRuchika Gupta  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20*7065b7d4SRuchika Gupta  * MA 02111-1307 USA
21*7065b7d4SRuchika Gupta  */
22*7065b7d4SRuchika Gupta 
23*7065b7d4SRuchika Gupta #ifndef __FSL_SECURE_BOOT_H
24*7065b7d4SRuchika Gupta #define __FSL_SECURE_BOOT_H
25*7065b7d4SRuchika Gupta 
26*7065b7d4SRuchika Gupta /* Starting TLB number for the TLB entried for 3.5 G space created by ISBC */
27*7065b7d4SRuchika Gupta #if defined(CONFIG_FSL_CORENET)
28*7065b7d4SRuchika Gupta #define CONFIG_SYS_ISBC_START_TLB		3
29*7065b7d4SRuchika Gupta #else
30*7065b7d4SRuchika Gupta #define CONFIG_SYS_ISBC_START_TLB		0
31*7065b7d4SRuchika Gupta #endif
32*7065b7d4SRuchika Gupta 
33*7065b7d4SRuchika Gupta /* Number fo TLB's created by ISBC */
34*7065b7d4SRuchika Gupta #define CONFIG_SYS_ISBC_NUM_TLBS		5
35*7065b7d4SRuchika Gupta 
36*7065b7d4SRuchika Gupta #if defined(CONFIG_FSL_CORENET)
37*7065b7d4SRuchika Gupta #define CONFIG_SYS_PBI_FLASH_BASE		0xc0000000
38*7065b7d4SRuchika Gupta #else
39*7065b7d4SRuchika Gupta #define CONFIG_SYS_PBI_FLASH_BASE		0xce000000
40*7065b7d4SRuchika Gupta #endif
41*7065b7d4SRuchika Gupta #define CONFIG_SYS_PBI_FLASH_WINDOW		0xcff80000
42*7065b7d4SRuchika Gupta 
43*7065b7d4SRuchika Gupta #endif
44