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@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; +}