summaryrefslogtreecommitdiff
path: root/tests/lib/memmove-test.c
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-04-13 19:18:34 +0530
committerSubrata Banik <subratabanik@google.com>2022-04-19 05:45:43 +0000
commita26bb7878bd8728b43887ebee7dc86f658a35109 (patch)
tree77563958560c0137c7821b455cd89e37ab6f929f /tests/lib/memmove-test.c
parent6b888adcff446c65ef22996728008ff5c6d5a720 (diff)
soc/intel/cmn/fast_spi: Add API to check if SPI Cycle In Progress
This patch creates a helper function to check if any SPI transaction is pending. As per Intel PCH BIOS spec section 3.6 Flash Security Recommendation, it's important to ensure there is no pending SPI transaction before setting SPI lock bits. BUG=b:211954778 TEST=Able to build google/brya with this patch and no error msg seen due to `SPI transaction is pending`. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ibd3f67ae60bfcb3610cd0950b057da97ff74b5b9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63624 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'tests/lib/memmove-test.c')
0 files changed, 0 insertions, 0 deletions