forked from len0rd/rockbox
FS#8272 - Erratic reboot behaviour on sansa e200. Makes reboot on USB connect work consistently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
52df7addcf
commit
fdb5a4b0c2
1 changed files with 2 additions and 2 deletions
|
@ -427,8 +427,6 @@ void system_reboot(void)
|
|||
#if defined(SANSA_E200) || defined(SANSA_C200)
|
||||
CACHE_CTL &= ~CACHE_CTL_VECT_REMAP;
|
||||
|
||||
pp_i2c_send(AS3514_I2C_ADDR, DCDC15, 0x0); /* backlight off */
|
||||
|
||||
/* Magic used by the c200 OF: 0x23066000
|
||||
Magic used by the c200 BL: 0x23066b7b
|
||||
In both cases, the OF executes these 2 commands from iram. */
|
||||
|
@ -437,6 +435,8 @@ void system_reboot(void)
|
|||
#else
|
||||
DEV_RS |= DEV_SYSTEM;
|
||||
#endif
|
||||
/* wait until reboot kicks in */
|
||||
while (1);
|
||||
}
|
||||
|
||||
int system_memory_guard(int newmode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue