mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
imx233: fix bootloader
The bootloader must call disk_init_subsystem() because it is multithread (because of USB), otherwise strange things might happen. Calling disk_init() is unnecessary since it is call when mounting partitions. Change-Id: If7aff3dea0b96144e2a9b0f6179a9a0a632b93ed
This commit is contained in:
parent
110e094db5
commit
e21d8f59da
1 changed files with 1 additions and 2 deletions
|
@ -176,8 +176,7 @@ void main(uint32_t arg, uint32_t addr)
|
|||
|
||||
/* NOTE: allow disk_init and disk_mount_all to fail since we can do USB after.
|
||||
* We need this order to determine the correct logical sector size */
|
||||
while(!disk_init(IF_MV(0)))
|
||||
printf("disk_init failed!");
|
||||
disk_init_subsystem();
|
||||
|
||||
if((ret = disk_mount_all()) <= 0)
|
||||
error(EDISK, ret, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue