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:
Peter Crosthwaite 2013-04-16 10:34:50 +10:00 committed by Edgar E. Iglesias
parent 28097d0207
commit 095b9c4860

View file

@ -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);
}