diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2024-02-06 21:28:16 +0300 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-02-29 02:11:01 +0000 |
commit | f6ea67cba17e764ad8a1825e30132b855370bd68 (patch) | |
tree | 0997e7d2280fb0520b1ea0753f4c78dca9e960bb /src/soc/amd/stoneyridge/aoac.c | |
parent | 7b7bddc015a2db82820f55c781106f1bbc24b0c3 (diff) |
mb/qemu/fw_cfg: Support using DMA to select fw_cfg file
Commit 8dc95ddbd4a935 ("emulation/qemu-i440fx: use fw_cfg_dma for
fw_cfg_read") adds DMA support to interface with the QEMU firmware
configuration device, and uses it to read from the "files" exposed by
the device. However, the file selection step still uses port-based IO.
Use DMA for fw_cfg file selection when possible, as a step towards
porting this driver to other architectures.
Change-Id: I46f9915e6df04d371c7084815f16034c7e9879d4
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80365
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/amd/stoneyridge/aoac.c')
0 files changed, 0 insertions, 0 deletions