Skip to content

Commit

Permalink
Enable timer interrupt correctly. Kernel now boots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed May 22, 2012
1 parent 8602505 commit 70e99b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/lm32/boot/dts/milkymist_one.dts
Expand Up @@ -75,6 +75,6 @@
};
};
chosen {
bootargs = "root=/dev/ram0 rootfstype=ext2";
bootargs = "root=/dev/ram0 rootfstype=ext2 console=ttyS0";
};
};
1 change: 1 addition & 0 deletions arch/lm32/platforms/milkymist/time.c
Expand Up @@ -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);
}
2 changes: 1 addition & 1 deletion drivers/tty/serial/Kconfig
Expand Up @@ -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"

Expand Down

0 comments on commit 70e99b2

Please sign in to comment.