xilpm example: Remove GicEnableInterrupt()

The function is just a trivial wrapper => inline.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
This commit is contained in:
Soren Brinkmann 2015-04-12 20:24:25 -07:00 committed by Nava kishore Manne
parent fcd1ad8d4e
commit 92747ad56a
2 changed files with 1 additions and 11 deletions

View file

@ -39,14 +39,6 @@
XScuGic GicInst;
/**
* GicEnableInterrupt() - Enable interrupt in gic
*/
void GicEnableInterrupt(uint32_t IntId)
{
XScuGic_Enable(&GicInst, IntId);
}
/**
* GicInit() - Initialize gic
*
@ -99,7 +91,7 @@ int32_t GicSetupInterruptSystem(uint32_t IntId,
if(XST_SUCCESS != Status)
return Status;
GicEnableInterrupt(IntId);
XScuGic_Enable(&GicInst, IntId);
Xil_ExceptionEnable();

View file

@ -39,8 +39,6 @@
extern XScuGic GicInst;
void GicEnableInterrupt(uint32_t IntId);
int32_t GicSetupInterruptSystem(uint32_t IntId,
void *PeriphInstPtr, Xil_ExceptionHandler Handler);