Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Asherah Connor
On 21/02/23 01:02:p, Heinrich Schuchardt wrote: > On 23.02.21 12:43, Asherah Connor wrote: > 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. Right now we have: arch/arm/Kconfig: ... conf

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Asherah Connor
On 21/02/23 06:02:p, Tom Rini wrote: > Ah well, so my experiment would likely have not worked back then anyhow > (but I don't recall seeing an error at the time). Anyhow, for now in > U-Boot as there's not a generic QEMU symbol, this side of things should > depend on ARM||X86 for now and let futur

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Tom Rini
On Tue, Feb 23, 2021 at 11:54:01PM +, Asherah Connor wrote: > On 21/02/23 11:02:p, Tom Rini wrote: > > On Tue, Feb 23, 2021 at 05:15:49PM +0100, Heinrich Schuchardt wrote: > > > On 2/23/21 5:03 PM, Tom Rini wrote: > > > > On Tue, Feb 23, 2021 at 04:54:45PM +0100, Heinrich Schuchardt wrote: > >

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Asherah Connor
On 21/02/23 11:02:p, Tom Rini wrote: > On Tue, Feb 23, 2021 at 05:15:49PM +0100, Heinrich Schuchardt wrote: > > On 2/23/21 5:03 PM, Tom Rini wrote: > > > On Tue, Feb 23, 2021 at 04:54:45PM +0100, Heinrich Schuchardt wrote: > > > > qemu-system-riscv64 does not allow me to specify a file for the qfw

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Tom Rini
On Tue, Feb 23, 2021 at 05:15:49PM +0100, Heinrich Schuchardt wrote: > On 2/23/21 5:03 PM, Tom Rini wrote: > > 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 Sc

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Heinrich Schuchardt
On 2/23/21 5:03 PM, Tom Rini wrote: 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

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Tom Rini
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

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Heinrich Schuchardt
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 t

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread 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

Re: [PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Heinrich Schuchardt
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 archite

[PATCH v3 1/4] arm: x86: qemu: move qfw to DM, include Arm support

2021-02-23 Thread Asherah Connor
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. Signed-off-by: Asherah Connor --- Changes in v3: - ARCH_QEMU now