diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-11 08:51:27 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-11 08:51:27 +0000 |
commit | 0b1d7e76d751b9659f4d25be72143cd491704b7e (patch) | |
tree | 0197590c2f32ab7927df1360b86c2fff7902d20f /firmware/kernel.c | |
parent | f46a7533a4b53de235c8adf78103e9754909ec7d (diff) |
Serial driver for imx31. Perhaps not 100% but maybe 80-90% (future developments will tell). Factor-out the mc13783 stuff and make that driver a layer above the SPI. TODO: start processing PMIC interrupts. Start a clkctl API for imx31 (we'll see if this sticks around but it seems reasonable here). Misc. stuff for convenience/neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/kernel.c')
-rw-r--r-- | firmware/kernel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c index 8ee553e121..f86a188d05 100644 --- a/firmware/kernel.c +++ b/firmware/kernel.c @@ -81,6 +81,9 @@ void kernel_init(void) memset(&all_queues, 0, sizeof(all_queues)); corelock_init(&all_queues.cl); tick_start(1000/HZ); +#ifdef KDEV_INIT + kernel_device_init(); +#endif } } |