diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-06-11 11:10:25 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2019-06-18 13:11:41 +0000 |
commit | 816aaba399537349b068afbd9bde702d00243f54 (patch) | |
tree | a161c4dd3a5bb5f09f5337ce76b1732fd376feaf /src/include/console | |
parent | 21c5d43d723d5a52d5b4c0060a94d56bdf297424 (diff) | |
download | coreboot-816aaba399537349b068afbd9bde702d00243f54.tar.xz |
sb/intel/spi: Check for the SPI lock bit during runtime
The SPI swseq controller can be locked in other parts of the code, for
instance when it's locked down in the finalize section. The driver
has to be made aware of that. The simpler solution is to not keep
track of the state and simply read out the lock bit on each SPI
transfer.
Change-Id: Ifcd5121b89d6f80fc1c1368786982d0d9fa1bf61
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33388
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/console')
0 files changed, 0 insertions, 0 deletions