Raymond Mao | 4932d1f | 2024-12-06 14:54:25 -0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Default SMBIOS information for Arm64 platforms |
| 4 | * |
| 5 | * Copyright (c) 2024 Linaro Limited |
| 6 | * Author: Raymond Mao <raymond.mao@linaro.org> |
| 7 | */ |
| 8 | #include <config.h> |
| 9 | #include <smbios_def.h> |
| 10 | |
| 11 | / { |
| 12 | smbios { |
| 13 | compatible = "u-boot,sysinfo-smbios"; |
| 14 | |
| 15 | smbios { |
| 16 | system { |
| 17 | manufacturer = CONFIG_SYS_VENDOR; |
| 18 | product = CONFIG_SYS_BOARD; |
| 19 | version = ""; |
| 20 | serial = ""; |
| 21 | wakeup-type = <SMBIOS_WAKEUP_TYPE_UNKNOWN>; |
| 22 | sku = ""; |
| 23 | family = "armv8"; |
| 24 | }; |
| 25 | |
| 26 | baseboard { |
| 27 | manufacturer = CONFIG_SYS_VENDOR; |
| 28 | product = CONFIG_SYS_BOARD; |
| 29 | version = ""; |
| 30 | serial = ""; |
| 31 | asset-tag = ""; |
| 32 | chassis-location = ""; |
| 33 | feature-flags = <SMBIOS_BOARD_FEAT_HOST_BOARD>; |
| 34 | board-type = <SMBIOS_BOARD_TYPE_MOTHERBOARD>; |
| 35 | }; |
| 36 | |
| 37 | chassis { |
| 38 | manufacturer = CONFIG_SYS_VENDOR; |
| 39 | version = ""; |
| 40 | serial = ""; |
| 41 | asset-tag = ""; |
| 42 | chassis-type = <SMBIOS_ENCLOSURE_DESKTOP>; |
| 43 | bootup-state = <SMBIOS_STATE_SAFE>; |
| 44 | power-supply-state = <SMBIOS_STATE_SAFE>; |
| 45 | thermal-state = <SMBIOS_STATE_SAFE>; |
| 46 | security-status = <SMBIOS_SECURITY_NONE>; |
| 47 | oem-defined = <SMBIOS_ENCLOSURE_OEM_UND>; |
| 48 | height = <SMBIOS_ENCLOSURE_HEIGHT_UND>; |
| 49 | number-of-power-cords = <SMBIOS_POWCORD_NUM_UND>; |
| 50 | }; |
| 51 | |
| 52 | processor { |
| 53 | version = ""; |
| 54 | processor-type = <SMBIOS_PROCESSOR_TYPE_CENTRAL>; |
| 55 | processor-status = <SMBIOS_PROCESSOR_STATUS_ENABLED>; |
| 56 | upgrade = <SMBIOS_PROCESSOR_UPGRADE_NONE>; |
| 57 | family = <SMBIOS_PROCESSOR_FAMILY_EXT>; |
| 58 | family2 = <SMBIOS_PROCESSOR_FAMILY_ARMV8>; |
| 59 | socket-design = ""; |
| 60 | serial = ""; |
| 61 | asset-tag = ""; |
| 62 | part-number = ""; |
| 63 | }; |
| 64 | |
| 65 | cache { |
| 66 | l1-cache { |
| 67 | socket-design = ""; |
| 68 | config = <(SMBIOS_CACHE_LEVEL_1 | |
| 69 | SMBIOS_CACHE_ENABLED | |
| 70 | SMBIOS_CACHE_OP_WB)>; |
| 71 | }; |
| 72 | |
| 73 | l2-cache { |
| 74 | socket-design = ""; |
| 75 | config = <(SMBIOS_CACHE_LEVEL_2 | |
| 76 | SMBIOS_CACHE_ENABLED | |
| 77 | SMBIOS_CACHE_OP_WB)>; |
| 78 | }; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
| 82 | }; |