diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-10-30 14:59:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-30 21:41:30 +0000 |
commit | 77aec99906367276afedf6f5583671de2ff609be (patch) | |
tree | d2ef058d1289bd58a6d210b1067a0b0647758eea /arch/mips/emma2rh/markeins/platform.c | |
parent | 4aad7b726996a2d453d210cd5691730aca087b83 (diff) | |
download | talos-obmc-linux-77aec99906367276afedf6f5583671de2ff609be.tar.gz talos-obmc-linux-77aec99906367276afedf6f5583671de2ff609be.zip |
[MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/emma2rh/markeins/platform.c')
-rw-r--r-- | arch/mips/emma2rh/markeins/platform.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/emma2rh/markeins/platform.c b/arch/mips/emma2rh/markeins/platform.c index be13cecfc06f..11567702b155 100644 --- a/arch/mips/emma2rh/markeins/platform.c +++ b/arch/mips/emma2rh/markeins/platform.c @@ -51,8 +51,8 @@ static struct resource i2c_emma_resources_0[] = { .flags = IORESOURCE_IRQ }, { .name = NULL, - .start = KSEG1ADDR(EMMA2RH_PIIC0_BASE), - .end = KSEG1ADDR(EMMA2RH_PIIC0_BASE + 0x1000), + .start = EMMA2RH_PIIC0_BASE, + .end = EMMA2RH_PIIC0_BASE + 0x1000, .flags = 0 }, }; @@ -65,8 +65,8 @@ struct resource i2c_emma_resources_1[] = { .flags = IORESOURCE_IRQ }, { .name = NULL, - .start = KSEG1ADDR(EMMA2RH_PIIC1_BASE), - .end = KSEG1ADDR(EMMA2RH_PIIC1_BASE + 0x1000), + .start = EMMA2RH_PIIC1_BASE, + .end = EMMA2RH_PIIC1_BASE + 0x1000, .flags = 0 }, }; @@ -79,8 +79,8 @@ struct resource i2c_emma_resources_2[] = { .flags = IORESOURCE_IRQ }, { .name = NULL, - .start = KSEG1ADDR(EMMA2RH_PIIC2_BASE), - .end = KSEG1ADDR(EMMA2RH_PIIC2_BASE + 0x1000), + .start = EMMA2RH_PIIC2_BASE, + .end = EMMA2RH_PIIC2_BASE + 0x1000, .flags = 0 }, }; |