Files
OpenCellular/include
Andrey Petrov ef4d930f88 cyan: fix issues with write protection
* Fixes cyan/board.h to use correct SPI part
* Adds new flash protection regions in spi_flash_reg.c
* Sets SRP register in flash_physical_protect_at_boot()
* Fixes a bug in COMPARE_BIT macro
* Makes spi_flash_set_status() fail only when both HW pin is asserted
  AND SRP(s) are set
* Makes sure set_flash_set_status() completes before returning

BUG=chrome-os-partner:40908
BRANCH=master
TEST=on Cyan:
With WP pin de-asserted:
flashrom -p ec --wp-enable
flashrom -p ec --wp-status, make sure it is enabled
flashrom -p ec --wp-disable
flashrom -p ec --status, make sure it is disabled
flashrom -p ec --wp-enable
Assert WP pin (either with screwdriver or dut-control)
flashrom -p ec --wp-disable
make sure it failed

Change-Id: I338cc906b73e723fdbb37f7c2fd0c4da358b6c8e
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/276671
Reviewed-by: Shawn N <shawnn@chromium.org>
Tested-by: Divya Jyothi <divya.jyothi@intel.com>
Commit-Queue: Divya Jyothi <divya.jyothi@intel.com>
2015-07-16 18:47:22 +00:00
..
2013-12-17 21:27:53 +00:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2015-07-01 03:49:14 +00:00
2015-05-19 02:46:27 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2014-02-08 00:14:48 +00:00
2013-10-25 20:12:49 +00:00
2012-10-26 09:49:38 -07:00
2015-06-10 18:24:05 +00:00
2014-10-29 22:23:43 +00:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-06-30 17:18:54 +00:00
2015-05-27 03:58:16 +00:00
2013-06-26 09:08:23 -07:00
2015-06-17 13:10:58 +00:00
2013-10-30 23:10:13 +00:00
2013-08-07 12:43:48 -07:00
2015-06-17 13:10:58 +00:00
2015-06-25 17:21:50 +00:00
2015-06-18 19:07:00 +00:00
2011-12-07 19:10:02 +00:00
2015-04-30 02:31:22 +00:00
2015-03-06 08:48:39 +00:00
2012-10-25 14:12:11 -07:00
2012-10-25 14:12:10 -07:00
2015-06-18 19:07:00 +00:00
2013-10-30 23:10:10 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2012-08-09 17:40:37 -07:00
2015-06-18 19:07:00 +00:00
2015-05-07 23:39:06 +00:00
2015-06-18 19:07:00 +00:00
2015-06-17 13:10:58 +00:00
2013-11-21 00:09:09 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-01-20 20:56:43 +00:00