diff options
author | Benjamin Doron <benjamin.doron00@gmail.com> | 2022-02-09 00:58:43 +0000 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2022-02-12 11:29:33 +0000 |
commit | 39cf79900fa333992eb2614f7559dd1b2c7ac5e9 (patch) | |
tree | 4f69efba5a82c39c4fca29ebbde92bd29681b7df /util/nvramtool/layout.c | |
parent | 2fdcb64ec96dc80ae83d289ba9d18e20f86f2930 (diff) |
util/inteltool: Actually read SATA init data from SIRD
Fix issue where registers always seem to contain their own offset.
After writing the desired register into SIRI, the requested data is
returned in SIRD. This register is 4 bytes after SIRI, commonly 0xA4.
Tested on TGL-H (SATA SIR registers are common), genuine data is
returned.
Change-Id: I322b11d53178e5b64e353c1b4e576548592c16c3
Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61737
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util/nvramtool/layout.c')
0 files changed, 0 insertions, 0 deletions