forked from len0rd/rockbox
Gigabeat S: Add ATA/IDE power management. Fix parameter order of regmod32 as it was intended (had some things mixed up :P).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17409 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f18e4db81b
commit
df4bd0697d
4 changed files with 50 additions and 12 deletions
|
|
@ -27,7 +27,7 @@ void system_init(void)
|
|||
gpio_init();
|
||||
}
|
||||
|
||||
void imx31_regmod32(volatile uint32_t *reg_p, uint32_t mask, uint32_t value)
|
||||
void imx31_regmod32(volatile uint32_t *reg_p, uint32_t value, uint32_t mask)
|
||||
{
|
||||
value &= mask;
|
||||
mask = ~mask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue