diff mbox

[v2] EXYNOS: Rename exynos5_tzpc structure to exynos_tzpc

Message ID 1331782442-3159-1-git-send-email-chander.kashyap@linaro.org
State Accepted
Commit 90005092fc91fa1ae41558db5134da41dc706745
Headers show

Commit Message

Chander Kashyap March 15, 2012, 3:34 a.m. UTC
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>
---
Changes in V2:
	- Renaming is changed from s5p_ctzpc to exynos_tzpc as per 
	  Kyungmin's Comments.

 arch/arm/include/asm/arch-exynos/tzpc.h |    2 +-
 board/samsung/smdk5250/tzpc_init.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Minkyu Kang April 2, 2012, 2:06 a.m. UTC | #1
Dear Chander Kashyap,

On 15 March 2012 12:34, Chander Kashyap <chander.kashyap@linaro.org> wrote:
> 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>
> ---
> Changes in V2:
>        - Renaming is changed from s5p_ctzpc to exynos_tzpc as per
>          Kyungmin's Comments.
>
>  arch/arm/include/asm/arch-exynos/tzpc.h |    2 +-
>  board/samsung/smdk5250/tzpc_init.c      |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

applied to u-boot-samsung
diff mbox

Patch

diff --git a/arch/arm/include/asm/arch-exynos/tzpc.h b/arch/arm/include/asm/arch-exynos/tzpc.h
index 2c9a07b..c5eb4b1 100644
--- a/arch/arm/include/asm/arch-exynos/tzpc.h
+++ b/arch/arm/include/asm/arch-exynos/tzpc.h
@@ -22,7 +22,7 @@ 
 #define __TZPC_H_
 
 #ifndef __ASSEMBLY__
-struct exynos5_tzpc {
+struct exynos_tzpc {
 	unsigned int r0size;
 	char res1[0x7FC];
 	unsigned int decprot0stat;
diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c
index c2ccef3..f39bd55 100644
--- a/board/samsung/smdk5250/tzpc_init.c
+++ b/board/samsung/smdk5250/tzpc_init.c
@@ -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) {