Skip to content

Commit cc5647a

Browse files
committed
microblaze: Use node name instead of compatible string
Change report in bootlog: Origin: xlnx,xps-intc-1.00.a #0 at 0xc8000000, num_irq=6, edge=0x4 xlnx,xps-timer-1.00.a #0 at 0xc8004000, irq=2 New: interrupt-controller #0 at 0xc8000000, num_irq=6, edge=0x4 system-timer #0 at 0xc8004000, irq=2 Signed-off-by: Michal Simek <[email protected]>
1 parent 7c0d261 commit cc5647a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch/microblaze/kernel/intc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ void __init init_IRQ(void)
131131
#ifdef CONFIG_SELFMOD_INTC
132132
selfmod_function((int *) arr_func, intc_baseaddr);
133133
#endif
134-
printk(KERN_INFO "XPS intc #0 at 0x%08x, num_irq=%d, edge=0x%x\n",
135-
intc_baseaddr, nr_irq, intr_mask);
134+
printk(KERN_INFO "%s #0 at 0x%08x, num_irq=%d, edge=0x%x\n",
135+
intc->name, intc_baseaddr, nr_irq, intr_mask);
136136

137137
/*
138138
* Disable all external interrupts until they are

arch/microblaze/kernel/timer.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ void __init time_init(void)
274274
#ifdef CONFIG_SELFMOD_TIMER
275275
selfmod_function((int *) arr_func, timer_baseaddr);
276276
#endif
277-
printk(KERN_INFO "XPS timer #0 at 0x%08x, irq=%d\n",
278-
timer_baseaddr, irq);
277+
printk(KERN_INFO "%s #0 at 0x%08x, irq=%d\n",
278+
timer->name, timer_baseaddr, irq);
279279

280280
/* If there is clock-frequency property than use it */
281281
prop = of_get_property(timer, "clock-frequency", NULL);

0 commit comments

Comments
 (0)