summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-06-03 12:27:51 -0400
committerTom Rini <trini@konsulko.com>2020-06-03 12:27:51 -0400
commit0d8f35b58cc8458a5263b424896a386429ee49e5 (patch)
tree5d2faff1993ca4daa006916e84521af31ddfecb6 /cmd
parentf1a69b8c733614ca8293891d4f7a1d1bdbe665c9 (diff)
parentdb2e6d0ad7860653fcec63ded4211d74b83c2e09 (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi
- Toshiba spinand (Yoshio) - SPI/SPI Flash cleanup (Jagan) - Remove SH SPI (Jagan)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/sf.c b/cmd/sf.c
index 727837d9cd..d18f6a888c 100644
--- a/cmd/sf.c
+++ b/cmd/sf.c
@@ -145,13 +145,10 @@ static int do_spi_flash_probe(int argc, char *const argv[])
new = spi_flash_probe(bus, cs, speed, mode);
flash = new;
-
if (!new) {
printf("Failed to initialize SPI flash at %u:%u\n", bus, cs);
return 1;
}
-
- flash = new;
#endif
return 0;