Skip to content

Commit

Permalink
ARM: io: RiscPC: define io addresses relative to IO_BASE
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Aug 17, 2011
1 parent fb1dddd commit d0a84e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/arm/mach-rpc/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
/*
* IO Addresses
*/
#define VIDC_BASE IOMEM(0xe0400000)
#define EXPMASK_BASE 0xe0360000
#define IOMD_BASE IOMEM(0xe0200000)
#define IOC_BASE IOMEM(0xe0200000)
#define PCIO_BASE IOMEM(0xe0010000)
#define FLOPPYDMA_BASE IOMEM(0xe002a000)
#define VIDC_BASE (IO_BASE + 0x00400000)
#define EXPMASK_BASE (IO_BASE + 0x00360000)
#define IOMD_BASE (IO_BASE + 0x00200000)
#define IOC_BASE (IO_BASE + 0x00200000)
#define FLOPPYDMA_BASE (IO_BASE + 0x0002a000)
#define PCIO_BASE (IO_BASE + 0x00010000)

#define vidc_writel(val) __raw_writel(val, VIDC_BASE)

Expand Down

0 comments on commit d0a84e7

Please sign in to comment.