2 * (C) Copyright 2012 Samsung Electronics
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28 unsigned int decprot0stat;
29 unsigned int decprot0set;
30 unsigned int decprot0clr;
31 unsigned int decprot1stat;
32 unsigned int decprot1set;
33 unsigned int decprot1clr;
34 unsigned int decprot2stat;
35 unsigned int decprot2set;
36 unsigned int decprot2clr;
37 unsigned int decprot3stat;
38 unsigned int decprot3set;
39 unsigned int decprot3clr;
41 unsigned int periphid0;
42 unsigned int periphid1;
43 unsigned int periphid2;
44 unsigned int periphid3;
45 unsigned int pcellid0;
46 unsigned int pcellid1;
47 unsigned int pcellid2;
48 unsigned int pcellid3;
51 #define EXYNOS4_NR_TZPC_BANKS 6
52 #define EXYNOS5_NR_TZPC_BANKS 10
54 /* TZPC : Register Offsets */
55 #define TZPC_BASE_OFFSET 0x10000
58 * TZPC Register Value :
59 * R0SIZE: 0x0 : Size of secured ram
64 * TZPC Decode Protection Register Value :
65 * DECPROTXSET: 0xFF : Set Decode region to non-secure
67 #define DECPROTXSET 0xFF