commit | 3dd8012a8eeb3702fa17450ec1a16a3f38af138d | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Jan 29 11:25:36 2016 -0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Mar 07 18:01:57 2016 -0800 |
tree | 699d4370d9e17fd294f695f7942debd3684c7a5c | |
parent | 76a4707de5e18dc32d9cb4e990686140c5664a15 [diff] |
mtd: spi-nor: add TB (Top/Bottom) protect support Some flash support a bit in the status register that inverts protection so that it applies to the bottom of the flash, not the top. This yields additions to the protection range table, as noted in the comments. Because this feature is not universal to all flash that support lock/unlock, control it via a new flag. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>