mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
rk27xx: substitute magic constants with meaningful names for INTC
Change-Id: Ic93114db351a9940a53d0c1df6439d82ada044e1
This commit is contained in:
parent
15818bef55
commit
efe1042759
6 changed files with 49 additions and 12 deletions
|
|
@ -402,8 +402,8 @@ static void init_controller(void)
|
|||
|
||||
/* enable and unmask SD interrupts in interrupt controller */
|
||||
SCU_CLKCFG &= ~CLKCFG_SD;
|
||||
INTC_IMR |= (1<<10);
|
||||
INTC_IECR |= (1<<10);
|
||||
INTC_IMR |= IRQ_ARM_SD;
|
||||
INTC_IECR |= IRQ_ARM_SD;
|
||||
|
||||
SD_CTRL = SD_PWR_CPU | SD_DETECT_MECH | SD_CLOCK_EN | 0x7D;
|
||||
SD_INT = CMD_RES_INT_EN | DATA_XFER_INT_EN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue