coresightps_dcc : Modified asm instruction
This patch fixes the error in asm instruction. Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
This commit is contained in:
parent
6970f966df
commit
946f5eb256
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void XCoresightPs_DccSendByte(u32 BaseAddress, u8 Data)
|
|||
dsb();
|
||||
#if defined (__GNUC__) || defined (__ICCARM__)
|
||||
asm volatile("mcr p14, 0, %0, c0, c5, 0"
|
||||
: "=r" (Data));
|
||||
: : "r" (Data));
|
||||
#else
|
||||
{
|
||||
volatile register u32 Reg __asm("cp14:0:c0:c5:0");
|
||||
|
|
Loading…
Add table
Reference in a new issue