hw/integratorcp: Simplify flash remap code
commit563c2bf35cf4a20b504dd371c395d987f67e16d4
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Jan 2012 18:58:28 +0000 (6 18:58 +0000)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Tue, 10 Jan 2012 17:40:01 +0000 (10 18:40 +0100)
treeeee92c146d98d11317e08ea2a9c4da3e86f7f7f7
parent4753dea8c1311d05781cb66c45e540f94cdabd54
hw/integratorcp: Simplify flash remap code

Use the new memory mutator API to simplify the flash remap code;
this allows us to drop the flash_mapped flag.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/integratorcp.c