
Hi Asherah,
On Fri, Mar 19, 2021 at 11:14 AM Asherah Connor ashe@kivikakk.ee wrote:
This series moves the QFW driver into a uclass, UCLASS_QFW, and splits the driver into qfw_pio and qfw_mmio. Each driver is selected on the appropriate QEMU board. A sandbox driver is also added, and a DM unit test against that driver. The qfw command is tested in QEMU, and documentation added.
Version 7 ensures the qfw test assertions work both against real QEMU instances and the sandbox and removes CMD_QFW from the sandbox_spl config.
To view the changes online, see: https://git.src.kameliya.ee/~kameliya/u-boot/log/qfw-priv
Changes in v7:
- Make the qfw tests agnostic to running against a real QEMU instance or in the sandbox.
- Remove CONFIG_CMD_QFW=y from sandbox_spl_defconfig, per trini's request.
When applying this series, there are warnings:
$ git am 1.patch Applying: x86: qemu: move QFW to its own uclass .git/rebase-apply/patch:438: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: test: qemu: add qfw sandbox driver, dm tests, qemu tests .git/rebase-apply/patch:177: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: qemu: add MMIO driver for QFW Applying: qemu: arm: select QFW, MMIO on qemu-arm
Regards, Bin