Re: [PATCH v2 1/4] x86: qemu: Describe pflash

Tom Rini <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot
Message-ID <20260817222856.GA496327@bill-the-cat>
On Fri, Aug 07, 2026 at 11:07:10AM -0700, Elliot Berman wrote:

> QEMU pflash is mapped just below 4GiB. Describe it as a cfi-flash
> node so the MTD subsystem can probe it. When a flash device is not
> exposed to the guest by QEMU, the address is still backed by ROM, so
> we'll just see no flash found rather than faulting.
> 
> Signed-off-by: Elliot Berman <[email protected]>
> Reviewed-by: Simon Glass <[email protected]>
> ---
>  arch/x86/dts/pflash.dtsi         | 18 ++++++++++++++++++
>  arch/x86/dts/qemu-x86_i440fx.dts |  1 +
>  arch/x86/dts/qemu-x86_q35.dts    |  1 +
>  3 files changed, 20 insertions(+)

This makes "coreboot" and some other x86 targets fail to compile now.

-- 
Tom
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQTzzqh0PWDgGS+bTHor4qD1Cr/kCgUCaoOLJQAKCRAr4qD1Cr/k
CoyaAQCddbnw2XOFM5qXVUKpXsHL5pLx2evyChIHiny2pQiBQgD9Hb+683V3XZJn
9D4N1lwvLjBv4Wj1+RjkoThhqYQCxAE=
=7mPO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.