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:
parent
18d8e7922a
commit
b1562d0c85
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue