diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-07-12 14:19:43 -0600 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2021-07-18 15:15:15 +0000 |
commit | 6f3c9018c6b830311db3a819706fc14954a5b0c2 (patch) | |
tree | 54f17cc33574d329a6b1c6849e1a98510bf4ae14 /src/drivers/ams | |
parent | b29f9d471bade1cf6d5e0994af7ccf722ac65ef0 (diff) |
soc/amd/common/block/lpc/spi_dma: Use mutex to protect DMA registers
Once we enable COOP_MULTITASKING, we need to guarantee that we don't
have multiple threads trying to access the DMA hardware.
BUG=b:179699789
TEST=Boot guybrush with APOB patches.
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: Ibb8e31c95d6722521425772f4210af45626c8e09
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56231
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/ams')
0 files changed, 0 insertions, 0 deletions