diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-09-01 15:21:34 +0200 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-07 22:08:11 +0000 |
commit | b9af5133dd2d1be972b9157e8a6860eedd13a766 (patch) | |
tree | d3a6fe24884ed75fd435ed6b76f520a842c0f3b3 /src/ec/starlabs/merlin/variants/adl | |
parent | a39a812e407e1749c0177e229902883f5237ade1 (diff) |
mb/prodrive/hermes: Factor out serial reading logic
Add the `eeprom_read_serial()` function to read serials from the EEPROM.
Note that there's only one buffer now: this means only one serial can be
accessed at the same time, and the buffer needs to be cleared so that it
does not contain old data from other serials. Given that the serials are
copied one at a time into SMBIOS tables, having one shared buffer is not
a problem.
Change-Id: I5c9781e4e599043be756514cfd6dd86dedcf580c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67275
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/starlabs/merlin/variants/adl')
0 files changed, 0 insertions, 0 deletions