1
0
Fork 0
forked from len0rd/rockbox

Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make keymaps consistent; it's rather messy atm.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-05-03 15:14:52 +00:00
parent d0e32119f1
commit 5df4405317
9 changed files with 1503 additions and 496 deletions

View file

@ -27,6 +27,16 @@ void system_init(void)
gpio_init();
}
void imx31_regmod32(volatile uint32_t *reg_p, uint32_t mask, uint32_t value)
{
value &= mask;
mask = ~mask;
int oldlevel = disable_interrupt_save(IRQ_FIQ_STATUS);
*reg_p = (*reg_p & mask) | value;
restore_interrupt(oldlevel);
}
#ifdef BOOTLOADER
void system_prepare_fw_start(void)
{