]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Add qemu fw_cfg interface
authorHelge Deller <deller@gmx.de>
Sat, 29 Aug 2020 08:02:38 +0000 (10:02 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 15 Oct 2020 06:10:37 +0000 (08:10 +0200)
commit14179a67dc6cc14cccaf723812c51031ae5aefef
tree76f0f5fef665bb5392f44dd7f0634cf765d318f8
parentb70bfd4f8da8b9709226a2566782edde8b0e9d65
parisc: Add qemu fw_cfg interface

When running on qemu, SeaBIOS-hppa stores the iomem address for the
emulated fw_cfg port in PAGE0_>pad0[2/3]. Let the Linux driver
auto-configure the fw_cfg interface with it, so that the fw_cfg info
shows up in /sys/firmware/qemu_fw_cfg.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/kernel/inventory.c