[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nami: Provide implementation of mainboard_vb...

Furquan Shaikh (Code Review) gerrit at coreboot.org
Fri May 11 07:01:11 CEST 2018


Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/26227


Change subject: mb/google/poppy/variants/nami: Provide implementation of mainboard_vbt_filename
......................................................................

mb/google/poppy/variants/nami: Provide implementation of mainboard_vbt_filename

This change adds board-specific implementation of
mainboard_vbt_filename which returns "vbt.bin" by default. This is in
preparation to allow multiple vbt binaries to be added to single
image. More sku_id specific names will be added in follow-up CLs.

BUG=b:79396300

Change-Id: I3821d55bfbe9e5773bd2eb0b0003045a80158d8c
Signed-off-by: Furquan Shaikh <furquan at google.com>
---
M src/mainboard/google/poppy/variants/nami/mainboard.c
1 file changed, 12 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/26227/1

diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index bb77b6e..ffd1cab 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -21,6 +21,7 @@
 #include <commonlib/cbfs_serialized.h>
 #include <compiler.h>
 #include <device/device.h>
+#include <drivers/intel/gma/opregion.h>
 #include <ec/google/chromeec/ec.h>
 #include <smbios.h>
 #include <soc/ramstage.h>
@@ -139,3 +140,14 @@
 
 	return manuf;
 }
+
+const char *mainboard_vbt_filename(void)
+{
+	int sku_id = variant_board_sku();
+
+	switch (sku_id) {
+	default:
+		return "vbt.bin";
+		break;
+	}
+}

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3821d55bfbe9e5773bd2eb0b0003045a80158d8c
Gerrit-Change-Number: 26227
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180511/40f13792/attachment-0001.html>


More information about the coreboot-gerrit mailing list