On 20 July 2017 at 23:26, Wenyou Yang <wenyou.y...@microchip.com> wrote: > Add the print message to tell us why the erase operation doesn't work. > > Signed-off-by: Wenyou Yang <wenyou.y...@microchip.com> > --- > > drivers/mtd/spi/sf_dataflash.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> In general I think it is bad to print messages in drivers. But we don't really have a logging mechanism which we could use instead. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot