Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6b698713
Commit
6b698713
authored
Aug 29, 2020
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fw_cfg: Add support for parisc architecture
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
3e4fb434
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
drivers/firmware/Kconfig
drivers/firmware/Kconfig
+1
-1
drivers/firmware/qemu_fw_cfg.c
drivers/firmware/qemu_fw_cfg.c
+3
-0
No files found.
drivers/firmware/Kconfig
View file @
6b698713
...
...
@@ -187,7 +187,7 @@ config RASPBERRYPI_FIRMWARE
config FW_CFG_SYSFS
tristate "QEMU fw_cfg device support in sysfs"
depends on SYSFS && (ARM || ARM64 || PPC_PMAC || SPARC || X86)
depends on SYSFS && (ARM || ARM64 || P
ARISC || P
PC_PMAC || SPARC || X86)
depends on HAS_IOPORT_MAP
default n
help
...
...
drivers/firmware/qemu_fw_cfg.c
View file @
6b698713
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment