From 946f5eb256dc54c5947de27e0207c924ed47f8ed Mon Sep 17 00:00:00 2001 From: Venkata Naga Sai Krishna Kolapalli Date: Fri, 13 Feb 2015 11:46:08 +0530 Subject: [PATCH] coresightps_dcc : Modified asm instruction This patch fixes the error in asm instruction. Signed-off-by: Venkata Naga Sai Krishna Kolapalli --- .../drivers/coresightps_dcc/src/xcoresightpsdcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XilinxProcessorIPLib/drivers/coresightps_dcc/src/xcoresightpsdcc.c b/XilinxProcessorIPLib/drivers/coresightps_dcc/src/xcoresightpsdcc.c index 2dfc7d31..3a46a04e 100755 --- a/XilinxProcessorIPLib/drivers/coresightps_dcc/src/xcoresightpsdcc.c +++ b/XilinxProcessorIPLib/drivers/coresightps_dcc/src/xcoresightpsdcc.c @@ -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");