Put the FW_CFG_F_DMA constant, introduced in the last patch, to use.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
\r
QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion);\r
Features = QemuFwCfgRead32 ();\r
- if ((Features & BIT1) != 0) {\r
+ if ((Features & FW_CFG_F_DMA) != 0) {\r
mFwCfgDmaAddress = FwCfgDmaAddress;\r
InternalQemuFwCfgReadBytes = DmaReadBytes;\r
}\r