omap_gpmc: Take omap_mpu_state* in omap_gpmc_init
commitb5325c2739d9795f9462ef87e4080b792835d70a
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Sun, 28 Aug 2011 16:22:19 +0000 (28 16:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:37:12 +0000 (28 16:37 +0000)
tree8b30d736c89dd32f999923a8660d51e5f234e9ef
parentde8af7fe0158493baa1c9a5418ac598a18e86027
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>
hw/omap.h
hw/omap2.c
hw/omap_gpmc.c