aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2013-04-16 10:34:50 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2013-04-16 10:25:34 +0200
commit095b9c4860b1351e4a0322e43708f39c79c1f34b (patch)
treebe66ec6822e330f2519128fbfff295ffe396f65f /hw
parent28097d02078cfb708c2034f90394936209785f2e (diff)
m25p80: Add debug message for no bdrv
If there is no backing bdrv, let the debugging developer know about it. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/block/m25p80.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index d853a2e93b..efcc7f4c83 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -606,6 +606,7 @@ static int m25p80_init(SSISlave *ss)
return 1;
}
} else {
+ DB_PRINT_L(0, "No BDRV - binding to RAM\n");
memset(s->storage, 0xFF, s->size);
}