diff options
author | Michael Sparmann <theseven@rockbox.org> | 2011-02-27 22:47:55 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2011-02-27 22:47:55 +0000 |
commit | 30fb680a4dc7b8f1fed9002a47dc2154c7f72d0a (patch) | |
tree | 3f685583a92719314cf722fb8a8737947bb968c1 /firmware/target/arm/s5l8702/system-s5l8702.c | |
parent | 59c5e791a13765e75dacc2b97e93450c374b3b14 (diff) |
iPod Classic CE-ATA Support (Part 4 of 4: S5L8702 ATA driver)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8702/system-s5l8702.c')
-rw-r--r-- | firmware/target/arm/s5l8702/system-s5l8702.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8702/system-s5l8702.c b/firmware/target/arm/s5l8702/system-s5l8702.c index 4a8f47e59e..e264e61e22 100644 --- a/firmware/target/arm/s5l8702/system-s5l8702.c +++ b/firmware/target/arm/s5l8702/system-s5l8702.c @@ -97,7 +97,7 @@ default_interrupt(INT_IRQ40); default_interrupt(INT_IRQ41); default_interrupt(INT_IRQ42); default_interrupt(INT_IRQ43); -default_interrupt(INT_IRQ44); +default_interrupt(INT_MMC); default_interrupt(INT_IRQ45); default_interrupt(INT_IRQ46); default_interrupt(INT_IRQ47); @@ -169,7 +169,7 @@ static void (* const irqvector[])(void) = INT_DMAC0,INT_DMAC1,INT_IRQ18,INT_USB_FUNC,INT_IRQ20,INT_IRQ21,INT_IRQ22,INT_WHEEL, INT_IRQ24,INT_IRQ25,INT_IRQ26,INT_IRQ27,INT_IRQ28,INT_ATA,INT_IRQ30,INT_IRQ31, INT_IRQ32,INT_IRQ33,INT_IRQ34,INT_IRQ35,INT_IRQ36,INT_IRQ37,INT_IRQ38,INT_IRQ39, - INT_IRQ40,INT_IRQ41,INT_IRQ42,INT_IRQ43,INT_IRQ55,INT_IRQ56,INT_IRQ57,INT_IRQ58, + INT_IRQ40,INT_IRQ41,INT_IRQ42,INT_IRQ43,INT_MMC,INT_IRQ45,INT_IRQ46,INT_IRQ47, INT_IRQ48,INT_IRQ49,INT_IRQ50,INT_IRQ51,INT_IRQ52,INT_IRQ53,INT_IRQ54,INT_IRQ55, INT_IRQ56,INT_IRQ57,INT_IRQ58,INT_IRQ59,INT_IRQ60,INT_IRQ61,INT_IRQ62,INT_IRQ63 }; @@ -218,6 +218,8 @@ void system_init(void) { pmu_init(); VIC0INTENABLE = 1 << IRQ_WHEEL; + VIC0INTENABLE = 1 << IRQ_ATA; + VIC1INTENABLE = 1 << (IRQ_MMC - 32); } void system_reboot(void) |