diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-02-27 15:27:31 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-03-04 03:57:14 +0000 |
commit | 2d7bb7e141127eccf5426b7998fa2dce0a186c33 (patch) | |
tree | 779687d93ccd67ecefe550fb5915fe2f26ca31c9 /src/ec | |
parent | abd02cc1caa72585550d62d653cc5db5dd082fb5 (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/ec')
-rw-r--r-- | src/ec/google/chromeec/ec_skuid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/ec_skuid.c b/src/ec/google/chromeec/ec_skuid.c index f8fc203c47..ac69b136ee 100644 --- a/src/ec/google/chromeec/ec_skuid.c +++ b/src/ec/google/chromeec/ec_skuid.c @@ -11,6 +11,7 @@ #include <ec/google/chromeec/ec.h> #include <console/console.h> #include <string.h> +#include <smbios.h> #define SKU_UNKNOWN 0xFFFFFFFF @@ -34,3 +35,8 @@ const char *google_chromeec_smbios_system_sku(void) snprintf(sku_str, sizeof(sku_str), "sku%u", sku_id); return sku_str; } + +const char *smbios_system_sku(void) +{ + return google_chromeec_smbios_system_sku(); +} |