mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
28097d0207
commit
095b9c4860
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue