aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-05-13 16:28:01 +0530
committerJagan Teki <jagan@amarulasolutions.com>2020-06-01 17:55:24 +0530
commitda37b539e62604d090fbc5b52246f8e810f2f9a7 (patch)
tree6de8c43a2498d4cfe9b1edd9cc6c96b3377b96fd /net
parent46e4cdff1ee2b07e590b1a91d761f98e26ff3667 (diff)
downloadu-boot-da37b539e62604d090fbc5b52246f8e810f2f9a7.zip
u-boot-da37b539e62604d090fbc5b52246f8e810f2f9a7.tar.gz
u-boot-da37b539e62604d090fbc5b52246f8e810f2f9a7.tar.bz2
cmd: sf Drop reassignment of new into flash
The new pointer points to flash found and that would assign it to global 'flash' pointer for further flash operations and also keep track of old flash pointer. This would happen if the probe is successful or even failed, but current code assigning new into flash before and after checking the new. So, drop the assignment after new checks so flash always latest new pointer even if probe failed or succeed. Cc: Simon Glass <sjg@chromium.org> Cc: Vignesh R <vigneshr@ti.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions