Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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 VME FMC Carrier SVEC - Software
Commits
e42b328a
Commit
e42b328a
authored
Mar 11, 2013
by
Luis Fernando Ruiz
Committed by
Juan David González Cobas
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svec: clean unused variable
parent
e9215dce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
svec_drv.c
kernel/svec_drv.c
+1
-3
No files found.
kernel/svec_drv.c
View file @
e42b328a
...
...
@@ -217,7 +217,6 @@ void svec_setup_csr_fa0(void *base, u32 vme, unsigned vector, unsigned level)
int
svec_load_fpga
(
struct
svec_dev
*
svec
,
const
void
*
blob
,
int
size
)
{
struct
device
*
dev
=
svec
->
dev
;
const
uint32_t
*
data
=
blob
;
void
*
loader_addr
;
/* FPGA loader virtual address */
...
...
@@ -227,7 +226,6 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size)
int
xldr_fifo_r1
;
/* Bitstream data input register */
int
i
;
unsigned
long
j
;
int
err
=
0
;
/* Check if we have something to do... */
if
((
data
==
NULL
)
||
(
size
==
0
)){
...
...
@@ -291,7 +289,7 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size)
/* give the VME bus control to App FPGA */
iowrite32
(
cpu_to_be32
(
XLDR_CSR_EXIT
),
loader_addr
+
XLDR_REG_CSR
);
return
err
;
return
0
;
}
static
int
__devexit
svec_remove
(
struct
device
*
pdev
,
unsigned
int
ndev
)
...
...
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