Commit 6b698713 authored by Helge Deller's avatar Helge Deller

fw_cfg: Add support for parisc architecture

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 3e4fb434
...@@ -187,7 +187,7 @@ config RASPBERRYPI_FIRMWARE ...@@ -187,7 +187,7 @@ config RASPBERRYPI_FIRMWARE
config FW_CFG_SYSFS config FW_CFG_SYSFS
tristate "QEMU fw_cfg device support in sysfs" tristate "QEMU fw_cfg device support in sysfs"
depends on SYSFS && (ARM || ARM64 || PPC_PMAC || SPARC || X86) depends on SYSFS && (ARM || ARM64 || PARISC || PPC_PMAC || SPARC || X86)
depends on HAS_IOPORT_MAP depends on HAS_IOPORT_MAP
default n default n
help help
......
...@@ -215,6 +215,9 @@ static void fw_cfg_io_cleanup(void) ...@@ -215,6 +215,9 @@ static void fw_cfg_io_cleanup(void)
# define FW_CFG_CTRL_OFF 0x08 # define FW_CFG_CTRL_OFF 0x08
# define FW_CFG_DATA_OFF 0x00 # define FW_CFG_DATA_OFF 0x00
# define FW_CFG_DMA_OFF 0x10 # 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 */ # elif (defined(CONFIG_PPC_PMAC) || defined(CONFIG_SPARC32)) /* ppc/mac,sun4m */
# define FW_CFG_CTRL_OFF 0x00 # define FW_CFG_CTRL_OFF 0x00
# define FW_CFG_DATA_OFF 0x02 # define FW_CFG_DATA_OFF 0x02
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment