> On Feb 22, 2019, at 02:55, Laszlo Ersek <ler...@redhat.com> wrote:
> 
> OVMF and the q35/i440fx boards use cfi01. The 4KB sector size is assumed
> by both QEMU board code and OVMF. The 4KB sector size is not assumed (to
> my knowledge) by cfi01.pflash device model code.
> 
> Regarding the full size of each cfi01.pflash chip, i440fx/q35 board code
> determines that dynamically from the file size (the only requirement is
> that the size be a multiple of the sector size). There is no assumption
> in the device model. In OVMF, the assumed/expected full size is
> hard-coded (build-time constant).

Gotcha, thanks for the info. It sounds like the code for the Intel command set 
chips (cfi01) and the AMD command set chips (cfi02) have different requirements 
for their use.

Regards,

Steve

-- 
Stephen Checkoway






Reply via email to