mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 05:02:26 -04:00
EXYNOS: Rename exynos5_tzpc structure to exynos_tzpc
TZPC IP is common across Exynos based SoC'c. Renaming exynos5_tzpc in arch/arm/include/asm/arch-exynos/tzpc.h to exynos_tzpc will allow generic usase of tzpc. Also modify board/samsung/smdk5250/tzpc_init.c to use exynos_tzpc. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
2d594fd55d
commit
90005092fc
@ -22,7 +22,7 @@
|
|||||||
#define __TZPC_H_
|
#define __TZPC_H_
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
struct exynos5_tzpc {
|
struct exynos_tzpc {
|
||||||
unsigned int r0size;
|
unsigned int r0size;
|
||||||
char res1[0x7FC];
|
char res1[0x7FC];
|
||||||
unsigned int decprot0stat;
|
unsigned int decprot0stat;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
/* Setting TZPC[TrustZone Protection Controller] */
|
/* Setting TZPC[TrustZone Protection Controller] */
|
||||||
void tzpc_init(void)
|
void tzpc_init(void)
|
||||||
{
|
{
|
||||||
struct exynos5_tzpc *tzpc;
|
struct exynos_tzpc *tzpc;
|
||||||
unsigned int addr;
|
unsigned int addr;
|
||||||
|
|
||||||
for (addr = TZPC0_BASE; addr <= TZPC9_BASE; addr += TZPC_BASE_OFFSET) {
|
for (addr = TZPC0_BASE; addr <= TZPC9_BASE; addr += TZPC_BASE_OFFSET) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user