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>
This commit is contained in:
Andrew Ryabinin 2013-04-29 11:04:20 +04:00
parent aa801b5e0f
commit 61f9dbce3b

View file

@ -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();