diff options
author | Sandeep Sanjay Patil <psandeep.s@gmail.com> | 2007-05-16 05:51:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-05-16 10:37:43 -0400 |
commit | e903382ceae1dd85e650ffc7e98facdd59cc7a3f (patch) | |
tree | cce29e6f9e35f8febce2e26ca054b5e6905363cd /arch/arm/plat-s3c24xx/devs.c | |
parent | d73d8011779292788def2cd2520d6f39d9b406de (diff) |
[ARM] 4384/1: S3C2412/13 SPI registers offset correction
Change the SPI Channel 1 register offset in s3c_spi1_resource[], and
s3c2412_dma_mappings[]. Offset has to be 0x100 in s3c2412/13's case.
Also, total SPI memory resource size changed to 0x24 for s3c2412/13.
Signed-off-by: Sandeep Patil <psandeep.s@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-s3c24xx/devs.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 0fe53b39cb2f..8eca9599ef60 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
@@ -33,6 +33,7 @@ | |||
33 | 33 | ||
34 | #include <asm/plat-s3c24xx/devs.h> | 34 | #include <asm/plat-s3c24xx/devs.h> |
35 | #include <asm/plat-s3c24xx/cpu.h> | 35 | #include <asm/plat-s3c24xx/cpu.h> |
36 | #include <asm/arch/regs-spi.h> | ||
36 | 37 | ||
37 | /* Serial port registrations */ | 38 | /* Serial port registrations */ |
38 | 39 | ||
@@ -437,8 +438,8 @@ EXPORT_SYMBOL(s3c_device_spi0); | |||
437 | 438 | ||
438 | static struct resource s3c_spi1_resource[] = { | 439 | static struct resource s3c_spi1_resource[] = { |
439 | [0] = { | 440 | [0] = { |
440 | .start = S3C24XX_PA_SPI + 0x20, | 441 | .start = S3C24XX_PA_SPI + S3C2410_SPI1, |
441 | .end = S3C24XX_PA_SPI + 0x20 + 0x1f, | 442 | .end = S3C24XX_PA_SPI + S3C2410_SPI1 + 0x1f, |
442 | .flags = IORESOURCE_MEM, | 443 | .flags = IORESOURCE_MEM, |
443 | }, | 444 | }, |
444 | [1] = { | 445 | [1] = { |