forked from len0rd/rockbox
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:
parent
ac13e52522
commit
5f655c93f9
9 changed files with 172 additions and 1 deletions
|
@ -102,6 +102,9 @@
|
|||
|
||||
#define USB_X5STYLE
|
||||
|
||||
/* USB On-the-go */
|
||||
#define CONFIG_USBOTG USBOTG_M5636
|
||||
|
||||
/* Define this if you have adjustable CPU frequency */
|
||||
#define HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
|
||||
/* USB On-the-go */
|
||||
#define USBOTG_ISP1362 1362
|
||||
#define USBOTG_M5636 5636
|
||||
|
||||
/* now go and pick yours */
|
||||
#if defined(ARCHOS_PLAYER)
|
||||
|
|
25
firmware/export/m5636.h
Executable file
25
firmware/export/m5636.h
Executable file
|
@ -0,0 +1,25 @@
|
|||
/***************************************************************************
|
||||
* __________ __ ___.
|
||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2006 Ulrich Pegelow
|
||||
*
|
||||
* All files in this archive are subject to the GNU General Public License.
|
||||
* See the file COPYING in the source tree root for full license agreement.
|
||||
*
|
||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef M5636_H
|
||||
#define M5636_H
|
||||
|
||||
void m5636_init(void);
|
||||
void m5636_dump_regs(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue