From 0df4de9e96887ddc4b8c5f79064701e9d1448ea9 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 1 Mar 2013 17:38:59 -0600 Subject: 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 Reviewed-on: http://review.coreboot.org/2855 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/intel/wtm2/chromeos.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainboard/intel/wtm2/chromeos.c') 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; +} + -- cgit v1.2.3