summaryrefslogtreecommitdiff
path: root/include/charge_state.h
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2012-07-13 12:50:27 +0800
committerGerrit <chrome-bot@google.com>2012-07-18 00:56:45 -0700
commit9c289eda9f4fc9d14ea334cf57bc94f789c890e9 (patch)
tree40c7453e755cf2c7637d17a326c09e9f26145a2e /include/charge_state.h
parent73b042f3dce25f471003a459b72ba727b0d90181 (diff)
downloadchrome-ec-9c289eda9f4fc9d14ea334cf57bc94f789c890e9.tar.gz
Enable Lucas EC WP again.
Uncomment back the old code and fix the bug of WRP bit definition and also write_opt(). Note that to make this functional, wp_pin_asserted() always returns true. Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Change-Id: Ic09d3346ca68a2700697ff863f0fa08525129b11 BUG=chrome-os-partner:9849 TEST=run on lucas. > flashwp set 0 0x1f000 > flashwp lock > flashinfo # ensure the setting is right. stm32mon -r to read the firmware. stm32mon -w to write a different image. stm32mon -r to read again and compare the firmware is non-changed. > flashwp unlock Command returned error 1 stm32mon -u to unlock write protection. Reviewed-on: https://gerrit.chromium.org/gerrit/27503 Reviewed-by: David Hendricks <dhendrix@chromium.org> Commit-Ready: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com> Tested-by: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com>
Diffstat (limited to 'include/charge_state.h')
0 files changed, 0 insertions, 0 deletions