Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297643
b: refs/heads/master
c: ed5bf6e
h: refs/heads/master
i:
  297641: efcbbfb
  297639: 0c48fed
v: v3
  • Loading branch information
Rob Herring committed Mar 7, 2012
1 parent 11bbf70 commit abc4852
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f449588c65e23637aef59cae2ea7b6b2b1b767ec
refs/heads/master: ed5bf6e884dc176acdd17cbc653154dc02718239
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-ebsa110/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ static void __init ebsa110_map_io(void)
iotable_init(ebsa110_io_desc, ARRAY_SIZE(ebsa110_io_desc));
}

static void __iomem *ebsa110_ioremap_caller(unsigned long cookie, size_t size,
unsigned int flags, void *caller)
{
return (void __iomem *)cookie;
}

static void ebsa110_iounmap(volatile void __iomem *io_addr)
{}

static void __init ebsa110_init_early(void)
{
arch_ioremap_caller = ebsa110_ioremap_caller;
arch_iounmap = ebsa110_iounmap;
}

#define PIT_CTRL (PIT_BASE + 0x0d)
#define PIT_T2 (PIT_BASE + 0x09)
Expand Down Expand Up @@ -315,6 +329,7 @@ MACHINE_START(EBSA110, "EBSA110")
.reserve_lp2 = 1,
.restart_mode = 's',
.map_io = ebsa110_map_io,
.init_early = ebsa110_init_early,
.init_irq = ebsa110_init_irq,
.timer = &ebsa110_timer,
.restart = ebsa110_restart,
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/arm/mach-ebsa110/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ void __writel(u32 val, void __iomem *addr);
#define writew(v,b) __writew(v,b)
#define writel(v,b) __writel(v,b)

static inline void __iomem *__arch_ioremap(unsigned long cookie, size_t size,
unsigned int flags)
{
return (void __iomem *)cookie;
}

#define __arch_ioremap __arch_ioremap
#define __arch_iounmap(cookie) do { } while (0)

extern void insb(unsigned int port, void *buf, int sz);
extern void insw(unsigned int port, void *buf, int sz);
extern void insl(unsigned int port, void *buf, int sz);
Expand Down

0 comments on commit abc4852

Please sign in to comment.