microblaze: Remove !OF_CONTROL code for timer and interrupt

OF_CONTROL is enabled by default that's why this is dead code.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek
2016-02-15 13:44:19 +01:00
parent 9aa65cab73
commit a359eaa598
4 changed files with 1 additions and 45 deletions

View File

@@ -115,8 +115,6 @@ static void intc_init(void)
int interrupt_init(void)
{
int i;
#ifdef CONFIG_OF_CONTROL
const void *blob = gd->fdt_blob;
int node = 0;
@@ -136,12 +134,7 @@ int interrupt_init(void)
} else {
return node;
}
#else
#if defined(CONFIG_SYS_INTC_0_ADDR) && defined(CONFIG_SYS_INTC_0_NUM)
intc = (microblaze_intc_t *)CONFIG_SYS_INTC_0_ADDR;
irq_no = CONFIG_SYS_INTC_0_NUM;
#endif
#endif
if (irq_no) {
vecs = calloc(1, sizeof(struct irq_action) * irq_no);
if (vecs == NULL) {