Skip to content

Commit

Permalink
[ARM] S3C: Rename S3C24XX_PA_USBHOST to S3C_PA_USBHOST
Browse files Browse the repository at this point in the history
The USB host base address is available on both the S3C24XX and S3C64XX
ranges.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks authored and Ben Dooks committed May 7, 2009
1 parent 98fd63b commit e6a2a9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/include/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@

#define S3C24XX_PA_IRQ S3C2410_PA_IRQ
#define S3C24XX_PA_MEMCTRL S3C2410_PA_MEMCTRL
#define S3C24XX_PA_USBHOST S3C2410_PA_USBHOST
#define S3C24XX_PA_DMA S3C2410_PA_DMA
#define S3C24XX_PA_CLKPWR S3C2410_PA_CLKPWR
#define S3C24XX_PA_LCD S3C2410_PA_LCD
Expand All @@ -102,6 +101,7 @@

#define S3C_PA_IIC S3C2410_PA_IIC
#define S3C_PA_UART S3C24XX_PA_UART
#define S3C_PA_USBHOST S3C2410_PA_USBHOST
#define S3C_PA_HSMMC0 S3C2443_PA_HSMMC

#endif /* __ASM_ARCH_MAP_H */
4 changes: 2 additions & 2 deletions arch/arm/plat-s3c/dev-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

static struct resource s3c_usb_resource[] = {
[0] = {
.start = S3C24XX_PA_USBHOST,
.end = S3C24XX_PA_USBHOST + S3C24XX_SZ_USBHOST - 1,
.start = S3C_PA_USBHOST,
.end = S3C_PA_USBHOST + 0x100 - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
Expand Down
1 change: 0 additions & 1 deletion arch/arm/plat-s3c24xx/include/plat/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
#define S3C24XX_SZ_SPI SZ_1M
#define S3C24XX_SZ_SDI SZ_1M
#define S3C24XX_SZ_NAND SZ_1M
#define S3C24XX_SZ_USBHOST SZ_1M

/* GPIO ports */

Expand Down

0 comments on commit e6a2a9c

Please sign in to comment.