diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-03-01 17:38:59 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-22 00:15:38 +0100 |
commit | 0df4de9e96887ddc4b8c5f79064701e9d1448ea9 (patch) | |
tree | 2abd3cd76bd07e53a8197e18aedb3f4fce756a9f /src/mainboard/intel | |
parent | fd79562915bbdea93fc7b37e657856acf808e64f (diff) | |
download | coreboot-0df4de9e96887ddc4b8c5f79064701e9d1448ea9.tar.xz |
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>
Reviewed-on: http://review.coreboot.org/2855
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r-- | src/mainboard/intel/baskingridge/chromeos.c | 5 | ||||
-rw-r--r-- | src/mainboard/intel/wtm1/chromeos.c | 6 | ||||
-rw-r--r-- | src/mainboard/intel/wtm2/chromeos.c | 6 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/intel/baskingridge/chromeos.c b/src/mainboard/intel/baskingridge/chromeos.c index 9baf3568f7..5ec6c27907 100644 --- a/src/mainboard/intel/baskingridge/chromeos.c +++ b/src/mainboard/intel/baskingridge/chromeos.c @@ -123,3 +123,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 8142e6541d..7cc0ef405c 100644 --- a/src/mainboard/intel/wtm1/chromeos.c +++ b/src/mainboard/intel/wtm1/chromeos.c @@ -71,3 +71,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 8142e6541d..7cc0ef405c 100644 --- a/src/mainboard/intel/wtm2/chromeos.c +++ b/src/mainboard/intel/wtm2/chromeos.c @@ -71,3 +71,9 @@ int get_recovery_mode_switch(void) { return 0; // force off } + +int get_write_protect_state(void) +{ + return 0; +} + |