diff options
author | Helge Deller <deller@gmx.de> | 2020-08-29 10:00:40 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2020-10-15 08:10:37 +0200 |
commit | 6b698713d4e99e5a64e2d07f0df90545809227b9 (patch) | |
tree | b44ed1bd3391cbd3311876f4eba366ee35abeec5 /drivers/firmware/qemu_fw_cfg.c | |
parent | Merge tag 'spdx-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gr... (diff) | |
download | linux-6b698713d4e99e5a64e2d07f0df90545809227b9.tar.xz linux-6b698713d4e99e5a64e2d07f0df90545809227b9.zip |
fw_cfg: Add support for parisc architecture
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/firmware/qemu_fw_cfg.c')
-rw-r--r-- | drivers/firmware/qemu_fw_cfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firmware/qemu_fw_cfg.c b/drivers/firmware/qemu_fw_cfg.c index 6945c3c96637..0078260fbabe 100644 --- a/drivers/firmware/qemu_fw_cfg.c +++ b/drivers/firmware/qemu_fw_cfg.c @@ -215,6 +215,9 @@ static void fw_cfg_io_cleanup(void) # define FW_CFG_CTRL_OFF 0x08 # define FW_CFG_DATA_OFF 0x00 # define FW_CFG_DMA_OFF 0x10 +# elif defined(CONFIG_PARISC) /* parisc */ +# define FW_CFG_CTRL_OFF 0x00 +# define FW_CFG_DATA_OFF 0x04 # elif (defined(CONFIG_PPC_PMAC) || defined(CONFIG_SPARC32)) /* ppc/mac,sun4m */ # define FW_CFG_CTRL_OFF 0x00 # define FW_CFG_DATA_OFF 0x02 |