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:
Jens Arnold 2005-06-04 23:42:02 +00:00
parent 5690f78fb2
commit 1cae074668

View file

@ -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