]> git.proxmox.com Git - qemu.git/commit
hw/omap_gpmc: Don't try to map CS0 twice on reset
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Aug 2011 18:24:32 +0000 (19:24 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 23 Aug 2011 19:51:47 +0000 (21:51 +0200)
commit710ffe604810676f9385263ba10f71f41b330cce
treea714de2cd78dea19e6ddc659e0caa54c0695f52f
parentf412c762e2c2798088c0188e7fdb714def549e05
hw/omap_gpmc: Don't try to map CS0 twice on reset

Remove a spurious second map of the OMAP GPMC CS0 region on reset.
This fixes an assertion failure when we try to add the region to
its container when it was already added. (The old code did not
complain about mismatched map/unmap calls, but the new MemoryRegion
implementation does.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/omap_gpmc.c