diff options
author | Juha Riihimäki <juha.riihimaki@nokia.com> | 2011-08-28 16:22:19 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-08-28 16:37:12 +0000 |
commit | b5325c2739d9795f9462ef87e4080b792835d70a (patch) | |
tree | 8b30d736c89dd32f999923a8660d51e5f234e9ef /hw/omap.h | |
parent | de8af7fe0158493baa1c9a5418ac598a18e86027 (diff) | |
download | qemu-b5325c2739d9795f9462ef87e4080b792835d70a.zip qemu-b5325c2739d9795f9462ef87e4080b792835d70a.tar.gz qemu-b5325c2739d9795f9462ef87e4080b792835d70a.tar.bz2 |
omap_gpmc: Take omap_mpu_state* in omap_gpmc_init
Take a pointer to the omap mpu state struct in omap_gpmc_init.
Some details of GPMC behaviour depend on the OMAP version we
are a part of.
Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
[Peter Maydell: More fixes and cleanups for upstream submission]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/omap.h')
-rw-r--r-- | hw/omap.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,7 +118,8 @@ void omap_sdrc_reset(struct omap_sdrc_s *s); /* OMAP2 general purpose memory controller */ struct omap_gpmc_s; -struct omap_gpmc_s *omap_gpmc_init(target_phys_addr_t base, qemu_irq irq); +struct omap_gpmc_s *omap_gpmc_init(struct omap_mpu_state_s *mpu, + target_phys_addr_t base, qemu_irq irq); void omap_gpmc_reset(struct omap_gpmc_s *s); void omap_gpmc_attach(struct omap_gpmc_s *s, int cs, MemoryRegion *iomem); |