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:
Venkata Naga Sai Krishna Kolapalli 2015-02-13 11:46:08 +05:30 committed by Nava kishore Manne
parent 6970f966df
commit 946f5eb256

View file

@ -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");