Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2855
-gerrit
commit 75b919cd8ad04920e753910544cdde08fa5c9c86 Author: Aaron Durbin adurbin@chromium.org Date: Fri Mar 1 17:38:59 2013 -0600
haswell boards: support added chromeos function
The get_write_protect_state() function was added to the chromeos API that needs to be supported by the boards. Implement this support.
Built and booted. Noted firmware select worked on an image with RW firmware support. Also checked that recovery mode worked as well by choosing the RO path.
Change-Id: Ifd213be25304163fc61d153feac4f5a875a40902 Signed-off-by: Aaron Durbin adurbin@chromium.org --- src/mainboard/intel/baskingridge/chromeos.c | 5 +++++ src/mainboard/intel/wtm1/chromeos.c | 6 ++++++ src/mainboard/intel/wtm2/chromeos.c | 6 ++++++ 3 files changed, 17 insertions(+)
diff --git a/src/mainboard/intel/baskingridge/chromeos.c b/src/mainboard/intel/baskingridge/chromeos.c index 6a1bc26..677f177 100644 --- a/src/mainboard/intel/baskingridge/chromeos.c +++ b/src/mainboard/intel/baskingridge/chromeos.c @@ -127,3 +127,8 @@ int get_recovery_mode_switch(void) return (gp_lvl3 >> (69-64)) & 1; }
+int get_write_protect_state(void) +{ + return 0; +} + diff --git a/src/mainboard/intel/wtm1/chromeos.c b/src/mainboard/intel/wtm1/chromeos.c index 1864754..c2386a8 100644 --- a/src/mainboard/intel/wtm1/chromeos.c +++ b/src/mainboard/intel/wtm1/chromeos.c @@ -75,3 +75,9 @@ int get_recovery_mode_switch(void) { return 0; // force off } + +int get_write_protect_state(void) +{ + return 0; +} + diff --git a/src/mainboard/intel/wtm2/chromeos.c b/src/mainboard/intel/wtm2/chromeos.c index 1864754..c2386a8 100644 --- a/src/mainboard/intel/wtm2/chromeos.c +++ b/src/mainboard/intel/wtm2/chromeos.c @@ -75,3 +75,9 @@ int get_recovery_mode_switch(void) { return 0; // force off } + +int get_write_protect_state(void) +{ + return 0; +} +