aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/octopus/mainboard_misc.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-02-27 15:27:31 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-03-04 03:57:14 +0000
commit2d7bb7e141127eccf5426b7998fa2dce0a186c33 (patch)
tree779687d93ccd67ecefe550fb5915fe2f26ca31c9 /src/mainboard/google/octopus/mainboard_misc.c
parentabd02cc1caa72585550d62d653cc5db5dd082fb5 (diff)
src/ec,mainboard: Move weak smbios_system_sku() override inwards
Internalise smbios_system_sku() strong symbol inwards in the ec_skuid.c implementation and simply wrap a call to: google_chromeec_smbios_system_sku(). BUG=b:150735116 BRANCH=none TEST=none Change-Id: I05ebfc8126c0fb176ca52c307c658f50611ab6ab Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39146 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/octopus/mainboard_misc.c')
-rw-r--r--src/mainboard/google/octopus/mainboard_misc.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mainboard/google/octopus/mainboard_misc.c b/src/mainboard/google/octopus/mainboard_misc.c
deleted file mode 100644
index 8b281da9d0..0000000000
--- a/src/mainboard/google/octopus/mainboard_misc.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright 2019 Intel Corp.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <baseboard/variants.h>
-#include <boardid.h>
-#include <console/console.h>
-#include <ec/google/chromeec/ec.h>
-#include <ec/ec.h>
-#include <smbios.h>
-#include <string.h>
-
-const char *smbios_system_sku(void)
-{
- return google_chromeec_smbios_system_sku();
-}