Sansa AMSv2: enable usb storage in bootloader

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31249 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-12-14 15:42:04 +00:00
parent b73dd01f2c
commit 02c5b3b256
2 changed files with 2 additions and 2 deletions

View file

@ -1046,7 +1046,7 @@ Lyre prototype 1 */
((defined(CREATIVE_ZVx) || \ ((defined(CREATIVE_ZVx) || \
defined(CPU_TCC77X) || defined(CPU_TCC780X))) || \ defined(CPU_TCC77X) || defined(CPU_TCC780X))) || \
(CONFIG_USBOTG == USBOTG_JZ4740) || defined(IPOD_NANO2G) || \ (CONFIG_USBOTG == USBOTG_JZ4740) || defined(IPOD_NANO2G) || \
CONFIG_USBOTG == USBOTG_AS3525 CONFIG_USBOTG == USBOTG_AS3525 || CONFIG_USBOTG == USBOTG_AS3525v2
#define USB_ENABLE_STORAGE #define USB_ENABLE_STORAGE
#endif #endif

View file

@ -1018,12 +1018,12 @@ void sd_enable(bool on)
bitclr32(&CGU_PERI, CGU_MCI_CLOCK_ENABLE); bitclr32(&CGU_PERI, CGU_MCI_CLOCK_ENABLE);
} }
} }
#endif /* BOOTLOADER */
tCardInfo *card_get_info_target(int card_no) tCardInfo *card_get_info_target(int card_no)
{ {
return &card_info[card_no]; return &card_info[card_no];
} }
#endif /* BOOTLOADER */
#ifdef HAVE_HOTSWAP #ifdef HAVE_HOTSWAP
bool sd_removable(IF_MD_NONVOID(int drive)) bool sd_removable(IF_MD_NONVOID(int drive))