Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Enable timer interrupt correctly. Kernel now boots.

  • Loading branch information...
commit 70e99b2549bd5cefb1c9dc81a8b04077042c1390 1 parent 8602505
Sébastien Bourdeauducq authored May 22, 2012
2  arch/lm32/boot/dts/milkymist_one.dts
@@ -75,6 +75,6 @@
75 75
 		};
76 76
 	};
77 77
 	chosen {
78  
-		bootargs = "root=/dev/ram0 rootfstype=ext2";
  78
+		bootargs = "root=/dev/ram0 rootfstype=ext2 console=ttyS0";
79 79
 	};
80 80
 };
1  arch/lm32/platforms/milkymist/time.c
@@ -155,5 +155,6 @@ void __init plat_time_init(void)
155 155
 
156 156
 	clockevents_register_device(&milkymist_clockevent);
157 157
 
  158
+	iowrite32be(1, CSR_TIMER0_EV_ENABLE);
158 159
 	setup_irq(TIMER0_INTERRUPT, &timer_irqaction);
159 160
 }
2  drivers/tty/serial/Kconfig
@@ -1519,7 +1519,7 @@ config SERIAL_MILKYMIST
1519 1519
 	  Enable Milkymist UART driver.
1520 1520
 
1521 1521
 config SERIAL_MILKYMIST_NR_UARTS
1522  
-	int "Maximum number of milkymist serial ports"
  1522
+	int "Maximum number of Milkymist serial ports"
1523 1523
 	depends on SERIAL_MILKYMIST
1524 1524
 	default "1"
1525 1525
 

0 notes on commit 70e99b2

Please sign in to comment.
Something went wrong with that request. Please try again.