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
ebe3b466
Commit
ebe3b466
authored
Mar 08, 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: function svec_is_bootloader_active renamed, c files
parent
00ca9b60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
svec-sysfs.c
kernel/svec-sysfs.c
+2
-2
svec_drv.c
kernel/svec_drv.c
+2
-2
No files found.
kernel/svec-sysfs.c
View file @
ebe3b466
...
...
@@ -19,7 +19,7 @@ static ssize_t svec_show_bootloader_active(struct device *pdev,
size_t
ret
;
int
active
;
active
=
svec_
bootloader_is
_active
(
card
);
active
=
svec_
is_bootloader
_active
(
card
);
if
(
active
<
0
)
return
active
;
...
...
@@ -48,7 +48,7 @@ static ssize_t svec_show_firmware_name(struct device *pdev,
size_t
ret
;
int
bl_active
;
bl_active
=
svec_
bootloader_is
_active
(
card
);
bl_active
=
svec_
is_bootloader
_active
(
card
);
if
(
bl_active
<
0
)
return
bl_active
;
...
...
kernel/svec_drv.c
View file @
ebe3b466
...
...
@@ -145,7 +145,7 @@ int svec_bootloader_unlock(struct svec_dev *svec)
return
0
;
}
int
svec_
bootloader_is
_active
(
struct
svec_dev
*
svec
)
int
svec_
is_bootloader
_active
(
struct
svec_dev
*
svec
)
{
struct
device
*
dev
=
svec
->
dev
;
uint32_t
idc
;
...
...
@@ -242,7 +242,7 @@ int svec_load_fpga(struct svec_dev *svec, const void *blob, int size)
}
/* Check if bootloader is active */
if
(
!
svec_
bootloader_is
_active
(
svec
))
{
if
(
!
svec_
is_bootloader
_active
(
svec
))
{
dev_err
(
dev
,
"Bootloader locked after unlock!
\n
"
);
return
-
EINVAL
;
}
...
...
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