Skip to content

Commit 70e99b2

Browse files
author
Sebastien Bourdeauducq
committedMay 22, 2012
Enable timer interrupt correctly. Kernel now boots.
1 parent 8602505 commit 70e99b2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
 

‎arch/lm32/boot/dts/milkymist_one.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@
7575
};
7676
};
7777
chosen {
78-
bootargs = "root=/dev/ram0 rootfstype=ext2";
78+
bootargs = "root=/dev/ram0 rootfstype=ext2 console=ttyS0";
7979
};
8080
};

‎arch/lm32/platforms/milkymist/time.c

+1
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,6 @@ void __init plat_time_init(void)
155155

156156
clockevents_register_device(&milkymist_clockevent);
157157

158+
iowrite32be(1, CSR_TIMER0_EV_ENABLE);
158159
setup_irq(TIMER0_INTERRUPT, &timer_irqaction);
159160
}

‎drivers/tty/serial/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ config SERIAL_MILKYMIST
15191519
Enable Milkymist UART driver.
15201520

15211521
config SERIAL_MILKYMIST_NR_UARTS
1522-
int "Maximum number of milkymist serial ports"
1522+
int "Maximum number of Milkymist serial ports"
15231523
depends on SERIAL_MILKYMIST
15241524
default "1"
15251525

0 commit comments

Comments
 (0)
Please sign in to comment.