diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2021-02-11 15:09:22 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-02-16 10:43:11 +0000 |
commit | ff251d21d0de23228b1c10e5b78d49294171c92b (patch) | |
tree | dc397b1419cd0b92b8a833bf08046d8faff3ab49 /src/include/device/dram/spd.h | |
parent | 20eb3506ca3d29ef59de81fb0070628582682751 (diff) |
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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50544
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/device/dram/spd.h')
-rw-r--r-- | src/include/device/dram/spd.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <types.h> + +const char *spd_manufacturer_name(const uint16_t mod_id); + +#endif /* DEVICE_DRAM_SPD_H */ |