Files
OpenCellular/common
Randall Spangler 1d28ca7cf1 Move flash_get_protect() and flash_set_protect() to flash_common.c
Much more flash code is now common between platforms, for more
consistent behavior and easier testing.

Also change STM32L to use pstate, the same way LM4 and STM32F do.

BUG=chrome-os-partner:15613
BRANCH=none
TEST=build pit, link, spring; do

 - flashinfo -> (no flags)
 - enable WP (via screw or dut-control)
 - flashinfo -> wp_gpio_asserted
 - flashwp enable
 - flashinfo -> wp_gpio_asserted ro_at_boot
 - flashwp now
 - flashinfo -> wp_gpio_asserted ro_at_boot all_now (and possibly ro_now)
 - flashwp disable -> fails
 - flashinfo -> wp_gpio_asserted ro_at_boot all_now
 - reboot ap-off
 - flashinfo -> wp_gpio_asserted ro_at_boot ro_now
 - disable WP (via screw or dut-control)
 - reboot
 - flashinfo -> ro_at_boot
 - flashwp disable
 - flashinfo -> (no flags)

Change-Id: Iccd098786454ad9b72b4e5f9f312d86819a0c8eb
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56109
2013-05-24 16:27:49 -07:00
..
2013-05-08 18:11:01 -07:00
2012-10-24 10:09:20 -07:00
2012-10-26 09:49:38 -07:00
2012-07-17 13:11:44 -07:00
2012-07-17 13:11:44 -07:00
2012-10-24 19:07:20 -07:00
2013-04-15 20:40:02 -07:00
2013-05-09 16:36:53 -07:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2012-10-25 17:03:44 -07:00
2013-05-08 18:11:01 -07:00
2012-11-26 14:49:49 -08:00