summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-07 12:07:01 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-09 06:29:31 +0000
commit8770954b99aedaa95f4066b0b35d52ba44373daa (patch)
tree9167286edf8a02a70386e8f73c200e765aa68faf /src
parente9e13d41e9869946a398267457eb4ca698361572 (diff)
mb/scaleway/tagada: Move override of SMBIOS_ENCLOSURE_TYPE
Change-Id: Iaefeccadb82106667a5108a2c77e538474ae18c2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42138 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/scaleway/tagada/Kconfig4
-rw-r--r--src/mainboard/scaleway/tagada/ramstage.c5
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,