cfi_flash: Do not print debug info while erasing
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
497445d51e
commit
b6b76c4ee2
|
@ -495,7 +495,7 @@ static int cfi_erase(struct cdev *cdev, size_t count, unsigned long offset)
|
|||
unsigned long start, end;
|
||||
int i, ret = 0;
|
||||
|
||||
printf("%s: erase 0x%08x (size %d)\n", __FUNCTION__, offset, count);
|
||||
debug("%s: erase 0x%08x (size %d)\n", __func__, offset, count);
|
||||
|
||||
start = find_sector(finfo, cdev->dev->map_base + offset);
|
||||
end = find_sector(finfo, cdev->dev->map_base + offset + count - 1);
|
||||
|
|
Loading…
Reference in New Issue