]> git.sur5r.net Git - u-boot/commit
sf: fix sf probe
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Wed, 17 Aug 2016 07:19:39 +0000 (15:19 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 12 Sep 2016 12:44:54 +0000 (08:44 -0400)
commitd6e9141fc2eccc512e506e220a5ec851245447b8
tree0ef6644d040b6c8b47cde817dc70ac544b7d52d8
parent9dd1d0aa4e086bc8a5eaf19a67825c3323c41c5a
sf: fix sf probe

This patch fixes the "sf probe" command. The very first SPI flash probe
passes, for instance when u-boot tries to read its environment settings
from a (Q)SPI memory but next "sf probe" commands fail because the flash
memory node is unbound from the SPI controller children nodes.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Stefan Roese <sr@denx.de>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/sf.c