EXYNOS: Rename exynos5_tzpc structure to exynos_tzpc
authorChander Kashyap <chander.kashyap@linaro.org>
Wed, 14 Mar 2012 17:34:02 +0000 (17:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:28 +0000 (08:31 +0200)
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>
arch/arm/include/asm/arch-exynos/tzpc.h
board/samsung/smdk5250/tzpc_init.c

index 2c9a07be45bba67fe317e1fac139bee057f2b629..c5eb4b1cc2bcda1e8c9b9e18a953b0db27aff411 100644 (file)
@@ -22,7 +22,7 @@
 #define __TZPC_H_
 
 #ifndef __ASSEMBLY__
-struct exynos5_tzpc {
+struct exynos_tzpc {
        unsigned int r0size;
        char res1[0x7FC];
        unsigned int decprot0stat;
index c2ccef3381b5e2f3011f2145f5b2e8a9b850e942..f39bd55e6c3c4ee2cea9b4ef06f9763ce7244261 100644 (file)
@@ -28,7 +28,7 @@
 /* Setting TZPC[TrustZone Protection Controller] */
 void tzpc_init(void)
 {
-       struct exynos5_tzpc *tzpc;
+       struct exynos_tzpc *tzpc;
        unsigned int addr;
 
        for (addr = TZPC0_BASE; addr <= TZPC9_BASE; addr += TZPC_BASE_OFFSET) {