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>
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c
index bcf1f8f..cbf3e95 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 @@
power_init();
system_init();
kernel_init();
+ i2c_init();
enable_irq();
adc_init();