aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/gpmc.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@solidboot.com>2006-09-25 05:41:33 -0400
committerTony Lindgren <tony@atomide.com>2006-09-25 05:41:33 -0400
commitf37e4580c409e290f6e482007c3573cdb4470bf9 (patch)
tree7d5741defdda9bf6edb554a541f2d5478ed6b413 /include/asm-arm/arch-omap/gpmc.h
parent2eaff915744b6c8db7770fa9e841fd1c0105fb0b (diff)
ARM: OMAP2: Dynamic allocator for GPMC memory space
Add support for assigning memory regions dynamically to peripherals attached to GPMC interface. Platform specific code should now call gpmc_cs_request to get a free GPMC memory region instead of using a fixed address. Make the H4 and Apollon platform initialization use the new API. Signed-off-by: Imre Deak <imre.deak@solidboot.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap/gpmc.h')
-rw-r--r--include/asm-arm/arch-omap/gpmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/arch-omap/gpmc.h b/include/asm-arm/arch-omap/gpmc.h
index 1a0a5207822d..7c03ef6c14c4 100644
--- a/include/asm-arm/arch-omap/gpmc.h
+++ b/include/asm-arm/arch-omap/gpmc.h
@@ -85,7 +85,7 @@ extern void gpmc_cs_write_reg(int cs, int idx, u32 val);
85extern u32 gpmc_cs_read_reg(int cs, int idx); 85extern u32 gpmc_cs_read_reg(int cs, int idx);
86extern int gpmc_cs_calc_divider(int cs, unsigned int sync_clk); 86extern int gpmc_cs_calc_divider(int cs, unsigned int sync_clk);
87extern int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t); 87extern int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t);
88extern unsigned long gpmc_cs_get_base_addr(int cs); 88extern int gpmc_cs_request(int cs, unsigned long size, unsigned long *base);
89 89extern void gpmc_cs_free(int cs);
90 90
91#endif 91#endif