diff options
author | Mathew King <mathewk@chromium.org> | 2019-10-31 12:10:44 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-04 11:31:12 +0000 |
commit | be820b3911ce5983690114682a8f4af3277f50ba (patch) | |
tree | 67b7f7b0b540cffa8fd13eff41d32432d843376a /src/arch/x86 | |
parent | f91c0f993544867613b15e9bd00fdc0556378e2e (diff) | |
download | coreboot-be820b3911ce5983690114682a8f4af3277f50ba.tar.xz |
smbios: Create a type for smbios_enclosure_type
Add a name to the SMBIOS enclosure type enum and use it as the return
type for smbios_mainboard_enclosure_type.
BUG=b:143701965
TEST=compiles
Change-Id: I816e17f0de2b0c119ddab638e57b0652f53f5b61
Signed-off-by: Mathew King <mathewk@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36516
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/smbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index 5edf3c6e0c..261888fc7f 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -492,7 +492,7 @@ smbios_board_type __weak smbios_mainboard_board_type(void) return SMBIOS_BOARD_TYPE_UNKNOWN; } -u8 __weak smbios_mainboard_enclosure_type(void) +smbios_enclosure_type __weak smbios_mainboard_enclosure_type(void) { return CONFIG_SMBIOS_ENCLOSURE_TYPE; } |