Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
7abd0b20
Commit
7abd0b20
authored
Jun 26, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: fix FPGA memmap
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
daf6edf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
spec-core-fpga.c
software/kernel/spec-core-fpga.c
+8
-2
No files found.
software/kernel/spec-core-fpga.c
View file @
7abd0b20
...
...
@@ -24,12 +24,18 @@ static int app_id;
enum
spec_fpga_mem_offsets
{
SPEC_FPGA_MEM_THERM_START
=
SPEC_CORE_FPGA
+
0x50
,
SPEC_FPGA_MEM_THERM_END
=
SPEC_CORE_FPGA
+
0x5F
,
SPEC_FPGA_MEM_CSR_START
=
SPEC_CORE_FPGA
+
0x60
,
SPEC_FPGA_MEM_CSR_END
=
SPEC_CORE_FPGA
+
0x7F
,
SPEC_FPGA_MEM_FMC_I2C_START
=
SPEC_CORE_FPGA
+
0x0080
,
SPEC_FPGA_MEM_FMC_I2C_END
=
SPEC_CORE_FPGA
+
0x009F
,
SPEC_FPGA_MEM_SPI_START
=
SPEC_CORE_FPGA
+
0x00A0
,
SPEC_FPGA_MEM_SPI_END
=
SPEC_CORE_FPGA
+
0x00BF
,
SPEC_FPGA_MEM_DMA_START
=
SPEC_CORE_FPGA
+
0x00C0
,
SPEC_FPGA_MEM_DMA_END
=
SPEC_CORE_FPGA
+
0x00FF
,
SPEC_FPGA_MEM_VIC_START
=
SPEC_CORE_FPGA
+
0x0100
,
SPEC_FPGA_MEM_VIC_END
=
SPEC_CORE_FPGA
+
0x01FF
,
SPEC_FPGA_MEM_
SPI_START
=
SPEC_CORE_FPGA
+
0x01
00
,
SPEC_FPGA_MEM_
SPI_END
=
SPEC_CORE_FPGA
+
0x01
FF
,
SPEC_FPGA_MEM_
WR_START
=
SPEC_CORE_FPGA
+
0x10
00
,
SPEC_FPGA_MEM_
WR_END
=
SPEC_CORE_FPGA
+
0x1F
FF
,
};
enum
spec_fpga_irq_lines
{
...
...
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