projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14763ec
)
hw/integratorcp: Fix sense of REMAP bit
author
Peter Maydell
<peter.maydell@linaro.org>
Fri, 6 Jan 2012 18:58:27 +0000
(18:58 +0000)
committer
Andrzej Zaborowski
<andrew.zaborowski@intel.com>
Tue, 10 Jan 2012 17:39:57 +0000
(18:39 +0100)
Fix the sense of the REMAP bit: 0 should mean "map flash",
1 should mean "map RAM".
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/integratorcp.c
patch
|
blob
|
history
diff --git
a/hw/integratorcp.c
b/hw/integratorcp.c
index c8f3955af87003dcbb70678fcbe7fd8675fdf0cc..d9d8da3812a1d10277cccc87ad2678c06323ceb0 100644
(file)
--- a/
hw/integratorcp.c
+++ b/
hw/integratorcp.c
@@
-112,7
+112,7
@@
static uint64_t integratorcm_read(void *opaque, target_phys_addr_t offset,
static void integratorcm_do_remap(integratorcm_state *s, int flash)
{
- if (flash) {
+ if (
!
flash) {
if (s->flash_mapped) {
sysbus_del_memory(&s->busdev, &s->flash);
s->flash_mapped = false;