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 <venkatan@xilinx.com>
This commit is contained in:
Venkata Naga Sai Krishna Kolapalli 2014-12-16 17:38:49 +05:30 committed by Nava kishore Manne
parent 18d8e7922a
commit b1562d0c85

View file

@ -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 */