From c6141b945160bd276c172991bd86a2fbf837fe89 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 10 May 2018 21:58:39 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/26227 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/poppy/variants/nami/mainboard.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mainboard/google/poppy/variants/nami') diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index bb77b6e9d2..01a91663b0 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -139,3 +140,14 @@ const char *smbios_mainboard_manufacturer(void) return manuf; } + +const char *mainboard_vbt_filename(void) +{ + uint32_t sku_id = variant_board_sku(); + + switch (sku_id) { + default: + return "vbt.bin"; + break; + } +} -- cgit v1.2.3