diff options
Diffstat (limited to 'firmware/target/arm/as3525/ata_sd_as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index 734d29a8d1..9f2514d8ba 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -456,11 +456,11 @@ static void init_pl180_controller(const int drive) | |||
456 | MCI_MASK0(drive) = MCI_ERROR | MCI_DATA_END; | 456 | MCI_MASK0(drive) = MCI_ERROR | MCI_DATA_END; |
457 | MCI_MASK1(drive) = 0; | 457 | MCI_MASK1(drive) = 0; |
458 | #ifdef HAVE_MULTIDRIVE | 458 | #ifdef HAVE_MULTIDRIVE |
459 | VIC_INT_ENABLE |= | 459 | VIC_INT_ENABLE = |
460 | (drive == INTERNAL_AS3525) ? INTERRUPT_NAND : INTERRUPT_MCI0; | 460 | (drive == INTERNAL_AS3525) ? INTERRUPT_NAND : INTERRUPT_MCI0; |
461 | 461 | ||
462 | /* setup isr for microsd monitoring */ | 462 | /* setup isr for microsd monitoring */ |
463 | VIC_INT_ENABLE |= (INTERRUPT_GPIOA); | 463 | VIC_INT_ENABLE = (INTERRUPT_GPIOA); |
464 | /* clear previous irq */ | 464 | /* clear previous irq */ |
465 | GPIOA_IC = (1<<2); | 465 | GPIOA_IC = (1<<2); |
466 | /* enable edge detecting */ | 466 | /* enable edge detecting */ |
@@ -469,7 +469,7 @@ static void init_pl180_controller(const int drive) | |||
469 | GPIOA_IBE |= (1<<2); | 469 | GPIOA_IBE |= (1<<2); |
470 | 470 | ||
471 | #else | 471 | #else |
472 | VIC_INT_ENABLE |= INTERRUPT_NAND; | 472 | VIC_INT_ENABLE = INTERRUPT_NAND; |
473 | #endif | 473 | #endif |
474 | 474 | ||
475 | MCI_POWER(drive) = MCI_POWER_UP | (MCI_VDD_3_0); /* OF Setting */ | 475 | MCI_POWER(drive) = MCI_POWER_UP | (MCI_VDD_3_0); /* OF Setting */ |