]> git.sur5r.net Git - u-boot/commit
sf: Simplify lock ops detection code
authorJagan Teki <jagan@openedev.com>
Sun, 30 Oct 2016 17:46:11 +0000 (23:16 +0530)
committerJagan Teki <jagan@openedev.com>
Fri, 18 Nov 2016 07:34:52 +0000 (13:04 +0530)
commitdda06a4328d6881b4809983e46e281c30d872c13
tree49f1b9c76b18728f9f61993d61b735a77df429fb
parentf790ca7c7dfd6b96d418a29d4a8654cdfebbdfc3
sf: Simplify lock ops detection code

Simplify the flash_lock ops detection code and added
meaningful comment.

Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Jagan Teki <jagan@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash.c