Patch #5639 by Ulrich Pegelow, inits the M5636 USBOTG chip on the X5 to reduce the battery consumption.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10208 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-07-13 07:40:30 +00:00
parent ac13e52522
commit 5f655c93f9
9 changed files with 172 additions and 1 deletions

View file

@ -92,6 +92,10 @@
#include "isp1362.h"
#endif
#if CONFIG_USBOTG == USBOTG_M5636
#include "m5636.h"
#endif
/*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */
const char appsversion[]=APPSVERSION;
@ -282,6 +286,8 @@ void init(void)
usb_init();
#if CONFIG_USBOTG == USBOTG_ISP1362
isp1362_init();
#elif CONFIG_USBOTG == USBOTG_M5636
m5636_init();
#endif
backlight_init();