[coreboot-gerrit] Patch set updated for coreboot: 7f47571 chromeos: fix compilation some issues

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Tue Apr 21 22:34:38 CEST 2015


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9936

-gerrit

commit 7f4757154481f4b54e5118aef9c22cfdb8107b15
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Apr 21 15:23:41 2015 -0500

    chromeos: fix compilation some issues
    
    This fixes some compilation issues observed with CONFIG_CHROMEOS.
    Nothing within the vbootX subdirectories is functional yet, but
    a partial compilation within the chromeos direction works now.
    
    Change-Id: I53c7b6dcf06b8bcf41a8555094b48968c0740026
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/vendorcode/google/chromeos/chromeos.c | 27 ---------------------------
 src/vendorcode/google/chromeos/chromeos.h |  5 +++++
 2 files changed, 5 insertions(+), 27 deletions(-)

diff --git a/src/vendorcode/google/chromeos/chromeos.c b/src/vendorcode/google/chromeos/chromeos.c
index 97c7e4f..b000777 100644
--- a/src/vendorcode/google/chromeos/chromeos.c
+++ b/src/vendorcode/google/chromeos/chromeos.c
@@ -26,33 +26,6 @@
 #include <console/console.h>
 #include "vboot_handoff.h"
 
-static int vboot_enable_developer(void)
-{
-	struct vboot_handoff *vbho;
-
-	vbho = cbmem_find(CBMEM_ID_VBOOT_HANDOFF);
-
-	if (vbho == NULL) {
-		printk(BIOS_ERR, "%s: Couldn't find vboot_handoff structure!\n",
-		        __func__);
-		return 0;
-	}
-
-	return !!(vbho->init_params.out_flags & VB_INIT_OUT_ENABLE_DEVELOPER);
-}
-
-static int vboot_enable_recovery(void)
-{
-	struct vboot_handoff *vbho;
-
-	vbho = cbmem_find(CBMEM_ID_VBOOT_HANDOFF);
-
-	if (vbho == NULL)
-		return 0;
-
-	return !!(vbho->init_params.out_flags & VB_INIT_OUT_ENABLE_RECOVERY);
-}
-
 int vboot_skip_display_init(void)
 {
 	struct vboot_handoff *vbho;
diff --git a/src/vendorcode/google/chromeos/chromeos.h b/src/vendorcode/google/chromeos/chromeos.h
index ccbadab..b22ddc7 100644
--- a/src/vendorcode/google/chromeos/chromeos.h
+++ b/src/vendorcode/google/chromeos/chromeos.h
@@ -23,9 +23,14 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <bootmode.h>
+#include <rules.h>
 #include "vboot_common.h"
 #include "vboot2/misc.h"
 
+#if ENV_ROMSTAGE
+void save_chromeos_gpios(void);
+#endif
+
 /* functions implemented in vbnv.c: */
 int get_recovery_mode_from_vbnv(void);
 int vboot_wants_oprom(void);



More information about the coreboot-gerrit mailing list