From 8770954b99aedaa95f4066b0b35d52ba44373daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 7 Jun 2020 12:07:01 +0300 Subject: mb/scaleway/tagada: Move override of SMBIOS_ENCLOSURE_TYPE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaefeccadb82106667a5108a2c77e538474ae18c2 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/42138 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: HAOUAS Elyes --- src/mainboard/scaleway/tagada/Kconfig | 4 ---- src/mainboard/scaleway/tagada/ramstage.c | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mainboard/scaleway/tagada/Kconfig b/src/mainboard/scaleway/tagada/Kconfig index 34473a8a18..cbbb6ae668 100644 --- a/src/mainboard/scaleway/tagada/Kconfig +++ b/src/mainboard/scaleway/tagada/Kconfig @@ -24,8 +24,4 @@ config BMC_INFO_LOC help Location of BMC SERIAL information. -config SMBIOS_ENCLOSURE_TYPE - hex - default 0x19 # SMBIOS_ENCLOSURE_MULTI_SYSTEM_CHASSIS - endif # BOARD_SCALEWAY_TAGADA diff --git a/src/mainboard/scaleway/tagada/ramstage.c b/src/mainboard/scaleway/tagada/ramstage.c index 5cad2baf90..6d5d3ff4fd 100644 --- a/src/mainboard/scaleway/tagada/ramstage.c +++ b/src/mainboard/scaleway/tagada/ramstage.c @@ -72,6 +72,11 @@ smbios_board_type smbios_mainboard_board_type(void) return SMBIOS_BOARD_TYPE_SERVER_BLADE; } +smbios_enclosure_type smbios_mainboard_enclosure_type(void) +{ + return SMBIOS_ENCLOSURE_MULTI_SYSTEM_CHASSIS; +} + /* Add any mainboard specific information for dimm */ void mainboard_add_dimm_info( struct memory_info *mem_info, -- cgit v1.2.3