mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Creative ZVM:
* Re-enable USB * Acknowledge EP0SETUP packets * Spin disk down when no files get loaded in the bootloader * Clean up/fix some other stuff git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19931 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e1aee31878
commit
ee1e8be37f
12 changed files with 196 additions and 155 deletions
|
|
@ -146,7 +146,7 @@ int i2c_read(unsigned short address, unsigned char* buf, int count)
|
|||
|
||||
void i2c_init(void)
|
||||
{
|
||||
#if 0 //TODO: mimic OF I2C clock settings; currently this is done by the bootloader
|
||||
#ifdef CREATIVE_ZVx //TODO: mimic OF I2C clock settings; currently this is done by the bootloader
|
||||
IO_CLK_MOD2 &= ~CLK_MOD2_I2C; // turn I²C clock off (just to be sure)
|
||||
IO_CLK_LPCTL1 &= ~1; // set Powerdown mode to off
|
||||
IO_CLK_SEL0 &= ~0x800; // set I²C clock to PLLA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue