From: Tom Rini Date: Tue, 23 Feb 2021 11:03:53 -0500 Subject: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support In-Reply-To: <1BAE85FA-C9B5-4067-92D5-0A7639DE1663@gmx.de> References: <20210223114329.16729-1-ashe@kivikakk.ee> <20210223114329.16729-2-ashe@kivikakk.ee> <20210223145338.GV10169@bill-the-cat> <1BAE85FA-C9B5-4067-92D5-0A7639DE1663@gmx.de> Message-ID: <20210223160353.GX10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 23, 2021 at 04:54:45PM +0100, Heinrich Schuchardt wrote: > Am 23. Februar 2021 15:53:38 MEZ schrieb Tom Rini : > >On Tue, Feb 23, 2021 at 01:59:52PM +0100, Heinrich Schuchardt wrote: > >> On 23.02.21 12:43, Asherah Connor wrote: > >> > Updates the QFW driver to use the driver model, and adds support > >for QFW > >> > on Arm platforms by configuring from the device tree and using MMIO > >> > accordingly. A sandbox driver for QFW is also included, and a > >simple DM > >> > unit test for it. > >> > >> For which architectures does the fw_cfg device exist? > >> > >> It it is only ARM and X86, than I am missing such a dependency on > >> CONFIG_CMD_QFW. > > > >The qemu 'qfw' interface is I believe a generic QEMU thing and a > >generic > >U-Boot cleanup would be to have a common QEMU symbol for everyone to > >select. > > qemu-system-riscv64 does not allow me to specify a file for the qfw interface. Really? It's listed under the help (taken from out docker images): $ /opt/qemu/bin/qemu-system-riscv64 --help ... Debug/Expert options: -fw_cfg [name=],file= add named fw_cfg entry with contents from file -fw_cfg [name=],string= add named fw_cfg entry with contents from string -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: