]> git.sur5r.net Git - u-boot/commit
env_sf: factor out prepare_flash_device
authorAndreas Fenkart <afenkart@gmail.com>
Sat, 8 Apr 2017 09:59:31 +0000 (11:59 +0200)
committerJagan Teki <jagan@openedev.com>
Wed, 3 May 2017 05:47:10 +0000 (11:17 +0530)
commitafa81a7750d63be9cb9eeb99a26c73bc93f4e1d9
treeeefee7f37e0abb62b92dc70ea4318aae05c02c7e
parentac6991fb5fc1a694b29f4ebd5e07baebf818d7cc
env_sf: factor out prepare_flash_device

copy&paste code found in single/double buffered code path

Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
common/env_sf.c