summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-04-29 11:04:20 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-04-30 13:09:49 +0200
commit61f9dbce3b89c6de22cb18a0cd8b356a0837c235 (patch)
treec238a1a759d2d691aea048bc5c47565337672de0
parentaa801b5e0f50bb8b0dd388f4241de7a5c13d9e4f (diff)
downloadrockbox-61f9dbc.tar.gz
rockbox-61f9dbc.tar.bz2
rockbox-61f9dbc.zip
rk27xx: initialize i2c driver in bootloader.
Change-Id: I0b343425d0cfef4d4609cabca79c1f31d8327d3b Reviewed-on: http://gerrit.rockbox.org/459 Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
-rw-r--r--bootloader/rk27xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c
index bcf1f8f764..cbf3e95049 100644
--- a/bootloader/rk27xx.c
+++ b/bootloader/rk27xx.c
@@ -19,6 +19,7 @@
#include "crc32-rkw.h"
#include "rkw-loader.h"
#include "version.h"
+#inlcude "i2c-rk27xx.h"
/* beginning of DRAM */
#define DRAM_ORIG 0x60000000
@@ -112,6 +113,7 @@ void main(void)
power_init();
system_init();
kernel_init();
+ i2c_init();
enable_irq();
adc_init();