[coreboot-gerrit] Change in ...coreboot[master]: mb/google/cheza/chromeos.c: Add recovery mode and WP staus functions

Frans Hendriks (Code Review) gerrit at coreboot.org
Wed Dec 12 09:23:49 CET 2018


Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30181


Change subject: mb/google/cheza/chromeos.c: Add recovery mode and WP staus functions
......................................................................

mb/google/cheza/chromeos.c: Add recovery mode and WP staus functions

In commit 303a4bfd4a0df01c329683322466da46129313b1 the config
VBOOT_NO_BOARD_SUPPORT is removed. This disables weak
get_recovery_mode_switch() and get_write_protect_state(), without
having strong functions avaiilable.

Add get_recovery_mode_switch() and get_write_protect_state() .

BUG=N/A
TEST=N/A

Change-Id: I8b532474e442153913cf031fb03cf1d661416ef7
Signed-off-by: Frans Hendriks <fhendriks at eltan.com>
---
M src/mainboard/google/cheza/chromeos.c
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/30181/1

diff --git a/src/mainboard/google/cheza/chromeos.c b/src/mainboard/google/cheza/chromeos.c
index 538e46f..4ab08ca 100644
--- a/src/mainboard/google/cheza/chromeos.c
+++ b/src/mainboard/google/cheza/chromeos.c
@@ -2,6 +2,7 @@
  * This file is part of the coreboot project.
  *
  * Copyright (C) 2018, The Linux Foundation.  All rights reserved.
+ * Copyright (C) 2018, Eltan B.V.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -19,3 +20,13 @@
 {
 
 }
+
+int get_recovery_mode_switch(void)
+{
+	return 0;
+}
+
+int get_write_protect_state(void)
+{
+	return 0;
+}

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30181
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8b532474e442153913cf031fb03cf1d661416ef7
Gerrit-Change-Number: 30181
Gerrit-PatchSet: 1
Gerrit-Owner: Frans Hendriks <fhendriks at eltan.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181212/f03d59df/attachment.html>


More information about the coreboot-gerrit mailing list