Skip to content

Commit

Permalink
[MIPS] Alchemy: Fix Au1x SD controller IRQ
Browse files Browse the repository at this point in the history
With the introduction of MIPS_CPU_IRQ_BASE, the hardcoded IRQ number of
the au1100/au1200 SD controller(s) is no longer valid.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Manuel Lauss authored and Ralf Baechle committed Dec 9, 2007
1 parent 6d2d419 commit 0f5e49a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/asm-mips/mach-au1x00/au1100_mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@

#define NUM_AU1100_MMC_CONTROLLERS 2


#define AU1100_SD_IRQ 2
#if defined(CONFIG_SOC_AU1100)
#define AU1100_SD_IRQ AU1100_SD_INT
#elif defined(CONFIG_SOC_AU1200)
#define AU1100_SD_IRQ AU1200_SD_INT
#endif


#define SD0_BASE 0xB0600000
Expand Down

0 comments on commit 0f5e49a

Please sign in to comment.