On Tue, Apr 18, 2023 at 11:31 PM Simon Glass <s...@chromium.org> wrote: > > With tiny SPI flash the erasesize is 0 which can cause a divide-by-zero > error. Check for this and returns a proper error instead. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > (no changes since v1) > > drivers/mtd/spi/sf_probe.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>