diff options
author | Asherah Connor <ashe@kivikakk.ee> | 2021-03-19 18:21:40 +1100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-12 17:44:55 -0400 |
commit | 5b0b43e0e25dbeed62a2155e7f3be562b9ceb9bd (patch) | |
tree | 309170036a9d09d9c65087c4b490f4605777abe6 /drivers/misc/Kconfig | |
parent | 2a3f161c8b16ed4fe4bd215dddfa21f4ddbd3e37 (diff) | |
download | u-boot-5b0b43e0e25dbeed62a2155e7f3be562b9ceb9bd.zip u-boot-5b0b43e0e25dbeed62a2155e7f3be562b9ceb9bd.tar.gz u-boot-5b0b43e0e25dbeed62a2155e7f3be562b9ceb9bd.tar.bz2 |
x86: qemu: move QFW to its own uclass
We move qfw into its own uclass and split the PIO functions into a
specific driver for that uclass. The PIO driver is selected in the
qemu-x86 board config (this covers x86 and x86_64).
include/qfw.h is cleaned up and documentation added.
Signed-off-by: Asherah Connor <ashe@kivikakk.ee>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r-- | drivers/misc/Kconfig | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 7d2a299..3a254eb 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -368,8 +368,15 @@ config WINBOND_W83627 config QFW bool help - Hidden option to enable QEMU fw_cfg interface. This will be selected by - either CONFIG_CMD_QFW or CONFIG_GENERATE_ACPI_TABLE. + Hidden option to enable QEMU fw_cfg interface and uclass. This will + be selected by either CONFIG_CMD_QFW or CONFIG_GENERATE_ACPI_TABLE. + +config QFW_PIO + bool + depends on QFW + help + Hidden option to enable PIO QEMU fw_cfg interface. This will be + selected by the appropriate QEMU board. config I2C_EEPROM bool "Enable driver for generic I2C-attached EEPROMs" |