diff options
Diffstat (limited to 'bootloader/creativezvm.c')
-rw-r--r-- | bootloader/creativezvm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bootloader/creativezvm.c b/bootloader/creativezvm.c index f31f6490a4..6597448193 100644 --- a/bootloader/creativezvm.c +++ b/bootloader/creativezvm.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "../kernel-internal.h" | 22 | #include "../kernel-internal.h" |
23 | #include "storage.h" | 23 | #include "storage.h" |
24 | #include "ata-target.h" | 24 | #include "ata-target.h" |
25 | #include "file_internal.h" | ||
25 | #include "disk.h" | 26 | #include "disk.h" |
26 | #include "font.h" | 27 | #include "font.h" |
27 | #include "backlight.h" | 28 | #include "backlight.h" |
@@ -73,6 +74,8 @@ void main(void) | |||
73 | ret = storage_init(); | 74 | ret = storage_init(); |
74 | if(ret) | 75 | if(ret) |
75 | printf("ATA error: %d", ret); | 76 | printf("ATA error: %d", ret); |
77 | |||
78 | filesystem_init(); | ||
76 | 79 | ||
77 | /* If no button is held, start the OF */ | 80 | /* If no button is held, start the OF */ |
78 | if(button_read_device() == 0) | 81 | if(button_read_device() == 0) |
@@ -93,8 +96,6 @@ void main(void) | |||
93 | } | 96 | } |
94 | else | 97 | else |
95 | { | 98 | { |
96 | disk_init(); | ||
97 | |||
98 | ret = disk_mount_all(); | 99 | ret = disk_mount_all(); |
99 | if (ret <= 0) | 100 | if (ret <= 0) |
100 | error(EDISK, ret, true); | 101 | error(EDISK, ret, true); |