HD power must not default to off in rockbox itself, only in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6569 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5690f78fb2
commit
1cae074668
1 changed files with 3 additions and 1 deletions
|
@ -68,8 +68,10 @@ void power_init(void)
|
|||
GPIO1_ENABLE |= 0x00080000;
|
||||
GPIO1_FUNCTION |= 0x00080000;
|
||||
|
||||
/* Hard drive power, default = off */
|
||||
#ifdef BOOTLOADER
|
||||
/* Hard drive power default = off in bootloader*/
|
||||
GPIO_OUT |= 0x80000000;
|
||||
#endif
|
||||
GPIO_ENABLE |= 0x80000000;
|
||||
GPIO_FUNCTION |= 0x80000000;
|
||||
#ifdef HAVE_SPDIF_POWER
|
||||
|
|
Loading…
Reference in a new issue