diff options
author | Konrad Adamczyk <konrada@google.com> | 2023-06-28 12:23:08 +0000 |
---|---|---|
committer | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2023-07-21 07:30:08 +0000 |
commit | 86dfcb80ce7808103b014ad4cbfc80ecc7a5d355 (patch) | |
tree | 18cd14c47940ac4ed7832a19696aaf399184fb19 /src/vendorcode/amd/fsp/phoenix | |
parent | 0a96a1ca0613e5d7b624e5e608aaeb679ef56dbf (diff) |
vendorcode/amd/fsp/common: Refactor dmi_info.h
SoC family is able to provide SoC-specific information
via amd/fsp/<soc_family>/soc_dmi_info.h.
Use common amd/fsp/common/dmi_info.h for all AMD platforms.
This way, duplicated dmi_info.h files in
vendorcode/amd/fsp/<soc_family>/ can be removed.
BUG=b:288520486
TEST=Dump `dmidecode -t 17`.
Change-Id: I5e0109af51b78360f7038b20a2975aceb721a7d5
Signed-off-by: Konrad Adamczyk <konrada@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76107
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd/fsp/phoenix')
-rw-r--r-- | src/vendorcode/amd/fsp/phoenix/soc_dmi_info.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vendorcode/amd/fsp/phoenix/soc_dmi_info.h b/src/vendorcode/amd/fsp/phoenix/soc_dmi_info.h new file mode 100644 index 0000000000..12f3e8fa57 --- /dev/null +++ b/src/vendorcode/amd/fsp/phoenix/soc_dmi_info.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* + * These definitions are used to describe memory modules physical layout + */ + +#ifndef SOC_DMI_INFO_H +#define SOC_DMI_INFO_H + +#define AGESA_STRUCT_SOCKET_COUNT 4 ///< Number of sockets in AGESA FSP DMI T17 table +#define AGESA_STRUCT_CHANNELS_PER_SOCKET 12 ///< Channels per socket in AGESA FSP DMI T17 table +#define AGESA_STRUCT_DIMMS_PER_CHANNEL 2 ///< DIMMs per channel in AGESA FSP DMI T17 table + +#define SMBIOS_3_2_3_3_SUPPORT 1 + +#endif /* SOC_DMI_INFO_H */ |