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)
commit024f5b597564acced9e69305f7a9ef1202186a61
tree76f0f5fef665bb5392f44dd7f0634cf765d318f8
parent6b698713d4e99e5a64e2d07f0df90545809227b9
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