Message ID | 20220227144043.37359-2-agraf@csgraf.de |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
Series | Add support for QEMU's ramfb display | expand |
On Sun, 27 Feb 2022 at 07:40, Alexander Graf <agraf@csgraf.de> wrote: > > 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 <agraf@csgraf.de> > --- > include/qfw.h | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/include/qfw.h b/include/qfw.h index 7ca132e66a..e42960cbb4 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)
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 <agraf@csgraf.de> --- include/qfw.h | 1 + 1 file changed, 1 insertion(+)