Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable timer interrupt correctly. Kernel now boots.

  • Loading branch information...
commit 70e99b2549bd5cefb1c9dc81a8b04077042c1390 1 parent 8602505
@sbourdeauducq sbourdeauducq authored
View
2  arch/lm32/boot/dts/milkymist_one.dts
@@ -75,6 +75,6 @@
};
};
chosen {
- bootargs = "root=/dev/ram0 rootfstype=ext2";
+ bootargs = "root=/dev/ram0 rootfstype=ext2 console=ttyS0";
};
};
View
1  arch/lm32/platforms/milkymist/time.c
@@ -155,5 +155,6 @@ void __init plat_time_init(void)
clockevents_register_device(&milkymist_clockevent);
+ iowrite32be(1, CSR_TIMER0_EV_ENABLE);
setup_irq(TIMER0_INTERRUPT, &timer_irqaction);
}
View
2  drivers/tty/serial/Kconfig
@@ -1519,7 +1519,7 @@ config SERIAL_MILKYMIST
Enable Milkymist UART driver.
config SERIAL_MILKYMIST_NR_UARTS
- int "Maximum number of milkymist serial ports"
+ int "Maximum number of Milkymist serial ports"
depends on SERIAL_MILKYMIST
default "1"
Please sign in to comment.
Something went wrong with that request. Please try again.