drivers: scugic: Added prints to xscugic_tapp_example for regression

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
This commit is contained in:
Kinjal Pravinbhai Patel 2015-08-10 11:47:33 +05:30 committed by Nava kishore Manne
parent c057e98588
commit 996bc03be6

View file

@ -117,11 +117,13 @@ int main(void)
* Run the Scu Gic Intc example, specify the Device ID generated in
* xparameters.h.
*/
xil_printf("Starting Scugic self test Example \r\n");
Status = ScuGicSelfTestExample(INTC_DEVICE_ID);
if (Status != XST_SUCCESS) {
xil_printf("Scugic self test Example failed \n!");
return XST_FAILURE;
}
xil_printf("Scugic self test Example passed \n!");
return XST_SUCCESS;
}
@ -171,9 +173,6 @@ int ScuGicSelfTestExample(u16 DeviceId)
return XST_FAILURE;
}
return XST_SUCCESS;
}