diff options
Diffstat (limited to 'bootloader/rk27xx.c')
-rw-r--r-- | bootloader/rk27xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/rk27xx.c b/bootloader/rk27xx.c index d190ea5a5a..57e5868a87 100644 --- a/bootloader/rk27xx.c +++ b/bootloader/rk27xx.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "button.h" | 12 | #include "button.h" |
13 | #include "common.h" | 13 | #include "common.h" |
14 | #include "storage.h" | 14 | #include "storage.h" |
15 | #include "file_internal.h" | ||
15 | #include "disk.h" | 16 | #include "disk.h" |
16 | #include "panic.h" | 17 | #include "panic.h" |
17 | #include "power.h" | 18 | #include "power.h" |
@@ -146,8 +147,7 @@ void main(void) | |||
146 | if(ret < 0) | 147 | if(ret < 0) |
147 | error(EATA, ret, true); | 148 | error(EATA, ret, true); |
148 | 149 | ||
149 | while(!disk_init(IF_MV(0))) | 150 | filesystem_init(); |
150 | panicf("disk_init failed!"); | ||
151 | 151 | ||
152 | while((ret = disk_mount_all()) <= 0) | 152 | while((ret = disk_mount_all()) <= 0) |
153 | error(EDISK, ret, true); | 153 | error(EDISK, ret, true); |