[coreboot-gerrit] New patch to review for coreboot: a29f37c vboot: provide empty vboot_verify_firmware()
Marc Jones (marc.jones@se-eng.com)
gerrit at coreboot.org
Tue Nov 11 00:43:49 CET 2014
Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7394
-gerrit
commit a29f37caf54dddcbdcea47b9c5ee7a387201b3fc
Author: Aaron Durbin <adurbin at chromium.org>
Date: Thu Oct 10 20:58:57 2013 -0500
vboot: provide empty vboot_verify_firmware()
In the case of CONFIG_VBOOT_VERIFY_FIRMWARE not being
selected allow for calling vboot_verify_firmware()
with an empty implementation. This allows for one not to
clutter the source with ifdefs.
BUG=chrome-os-partner:23249
BRANCH=None
TEST=Built with a !CONFIG_VBOOT_VERIFY_FIRMWARE and non-guarded
call to vboot_verify_firmware().
Original-Change-Id: I72af717ede3c5d1db2a1f8e586fefcca82b191d5
Original-Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/172711
Original-Reviewed-by: Shawn Nematbakhsh <shawnn at chromium.org>
(cherry picked from commit c1e0e5c7b39c947b2a0c237b4678944ab86dd780)
Signed-off-by: Marc Jones <marc.jones at se-eng.com>
Conflicts:
src/vendorcode/google/chromeos/chromeos.h
Change-Id: Iaaa3bedbe8de701726c28412e7eb75de0c58c9c9
---
src/vendorcode/google/chromeos/chromeos.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/vendorcode/google/chromeos/chromeos.h b/src/vendorcode/google/chromeos/chromeos.h
index dc34dc3..6da9267 100644
--- a/src/vendorcode/google/chromeos/chromeos.h
+++ b/src/vendorcode/google/chromeos/chromeos.h
@@ -39,6 +39,8 @@ void init_chromeos(int bootmode);
int vboot_get_handoff_info(void **addr, uint32_t *size);
int vboot_enable_developer(void);
int vboot_enable_recovery(void);
+#else
+static inline void vboot_verify_firmware(struct romstage_handoff *h) {}
#endif
#include "gnvs.h"
More information about the coreboot-gerrit
mailing list