mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
b73dd01f2c
commit
02c5b3b256
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue