diff options
author | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2013-04-29 11:04:20 +0400 |
---|---|---|
committer | Andrew Ryabinin <ryabinin.a.a@gmail.com> | 2013-04-30 13:09:49 +0200 |
commit | 61f9dbce3b89c6de22cb18a0cd8b356a0837c235 (patch) | |
tree | c238a1a759d2d691aea048bc5c47565337672de0 | |
parent | aa801b5e0f50bb8b0dd388f4241de7a5c13d9e4f (diff) | |
download | rockbox-61f9dbce3b89c6de22cb18a0cd8b356a0837c235.tar.gz rockbox-61f9dbce3b89c6de22cb18a0cd8b356a0837c235.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.c | 2 |
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 @@ | |||
19 | #include "crc32-rkw.h" | 19 | #include "crc32-rkw.h" |
20 | #include "rkw-loader.h" | 20 | #include "rkw-loader.h" |
21 | #include "version.h" | 21 | #include "version.h" |
22 | #inlcude "i2c-rk27xx.h" | ||
22 | 23 | ||
23 | /* beginning of DRAM */ | 24 | /* beginning of DRAM */ |
24 | #define DRAM_ORIG 0x60000000 | 25 | #define DRAM_ORIG 0x60000000 |
@@ -112,6 +113,7 @@ void main(void) | |||
112 | power_init(); | 113 | power_init(); |
113 | system_init(); | 114 | system_init(); |
114 | kernel_init(); | 115 | kernel_init(); |
116 | i2c_init(); | ||
115 | enable_irq(); | 117 | enable_irq(); |
116 | 118 | ||
117 | adc_init(); | 119 | adc_init(); |