]> git.baikalelectronics.ru Git - uboot.git/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)
commitbed06df44c04d1ac23ce2bfcacb0f7c2c2539e5d
tree49f1b9c76b18728f9f61993d61b735a77df429fb
parentfc6af82c74cb63e0a3a5e2973829136ad20e30a6
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