From b1562d0c85d53df75673db5606c00f107624577e Mon Sep 17 00:00:00 2001 From: Venkata Naga Sai Krishna Kolapalli Date: Tue, 16 Dec 2014 17:38:49 +0530 Subject: [PATCH] standalone : xpm_counter.c file was modified to compile for armcc. This patch modifies xpm_counter file. Removed old notation uint32 and used u32. Signed-off-by: Venkata Naga Sai Krishna Kolapalli --- lib/bsp/standalone/src/cortexa9/xpm_counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bsp/standalone/src/cortexa9/xpm_counter.c b/lib/bsp/standalone/src/cortexa9/xpm_counter.c index 6cc88f9a..ab08126c 100644 --- a/lib/bsp/standalone/src/cortexa9/xpm_counter.c +++ b/lib/bsp/standalone/src/cortexa9/xpm_counter.c @@ -128,7 +128,7 @@ void Xpm_ResetEventCounters(void) #elif defined (__ICCARM__) mfcp(XREG_CP15_PERF_MONITOR_CTRL, Reg); #else - { register uint32 C15Reg __asm(XREG_CP15_PERF_MONITOR_CTRL); + { register u32 C15Reg __asm(XREG_CP15_PERF_MONITOR_CTRL); Reg = C15Reg; } #endif Reg |= (1U << 1U); /* reset event counters */