[dev][arm-generic-timer] print initialization configuration
This may be unsafe if the platform hasn't initialized a uart or console by the time this is run. May need to revert or change this if it's an issue.
This commit is contained in:
@@ -314,6 +314,8 @@ void arm_generic_timer_init(int irq, uint32_t freq_override) {
|
|||||||
unmask_interrupt(irq);
|
unmask_interrupt(irq);
|
||||||
|
|
||||||
timer_irq = irq;
|
timer_irq = irq;
|
||||||
|
|
||||||
|
dprintf(INFO, "Generic timer initialized with freq %u Hz, irq %d\n", cntfrq, irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void arm_generic_timer_init_secondary_cpu(uint level) {
|
static void arm_generic_timer_init_secondary_cpu(uint level) {
|
||||||
|
|||||||
Reference in New Issue
Block a user