From: Alexander Graf <ag...@csgraf.de> The QEMU fw_cfg device supports writing entries as well. Add the constant define for it so that we can leverage write functionality later.
Signed-off-by: Alexander Graf <ag...@csgraf.de> Reviewed-by: Simon Glass <s...@chromium.org> Signed-off-by: Alper Nebi Yasak <alpernebiya...@gmail.com> --- (no changes since v1) include/qfw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qfw.h b/include/qfw.h index 42798fea7db4..d3aaa4d54efc 100644 --- a/include/qfw.h +++ b/include/qfw.h @@ -70,6 +70,7 @@ enum { #define FW_CFG_DMA_READ (1 << 1) #define FW_CFG_DMA_SKIP (1 << 2) #define FW_CFG_DMA_SELECT (1 << 3) +#define FW_CFG_DMA_WRITE (1 << 4) /* Bit set in FW_CFG_ID response to indicate DMA interface availability. */ #define FW_CFG_DMA_ENABLED (1 << 1) -- 2.40.1