From ff251d21d0de23228b1c10e5b78d49294171c92b Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 11 Feb 2021 15:09:22 +0100 Subject: device/dram: Move SPD manufacturer names out of arch/x86 Move SPD manufacturer ID decoding to device/dram. Will be used by the following patch outside of SMBIOS scope as well. Change-Id: Iec175cd6ab1d20761da955785e4bc0e87ae02dbb Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/50544 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/include/device/dram/spd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/include/device/dram/spd.h (limited to 'src/include') diff --git a/src/include/device/dram/spd.h b/src/include/device/dram/spd.h new file mode 100644 index 0000000000..c677f4ce9b --- /dev/null +++ b/src/include/device/dram/spd.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef DEVICE_DRAM_SPD_H +#define DEVICE_DRAM_SPD_H + +#include + +const char *spd_manufacturer_name(const uint16_t mod_id); + +#endif /* DEVICE_DRAM_SPD_H */ -- cgit v1.2.3