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
f1c0cdb8
Commit
f1c0cdb8
authored
Nov 12, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: fix verbose level
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
63beeae3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec-firmware-version.c
software/tools/spec-firmware-version.c
+2
-2
No files found.
software/tools/spec-firmware-version.c
View file @
f1c0cdb8
...
@@ -66,7 +66,7 @@ static void print_meta_id_one(struct spec_meta_id *rom)
...
@@ -66,7 +66,7 @@ static void print_meta_id_one(struct spec_meta_id *rom)
SPEC_META_VERSION_MAJ
(
rom
->
version
),
SPEC_META_VERSION_MAJ
(
rom
->
version
),
SPEC_META_VERSION_MIN
(
rom
->
version
),
SPEC_META_VERSION_MIN
(
rom
->
version
),
SPEC_META_VERSION_PATCH
(
rom
->
version
));
SPEC_META_VERSION_PATCH
(
rom
->
version
));
if
(
verbose
>
1
)
{
if
(
verbose
>
0
)
{
fprintf
(
stdout
,
",%08x%08x%08x%08x,%s,%08x%08x%08x%08x"
,
fprintf
(
stdout
,
",%08x%08x%08x%08x,%s,%08x%08x%08x%08x"
,
rom
->
src
[
0
],
rom
->
src
[
1
],
rom
->
src
[
2
],
rom
->
src
[
3
],
rom
->
src
[
0
],
rom
->
src
[
1
],
rom
->
src
[
2
],
rom
->
src
[
3
],
bom_to_str
(
rom
->
bom
),
bom_to_str
(
rom
->
bom
),
...
@@ -84,7 +84,7 @@ static void print_meta_id(struct spec_meta_id *rom)
...
@@ -84,7 +84,7 @@ static void print_meta_id(struct spec_meta_id *rom)
SPEC_META_VERSION_MAJ
(
rom
->
version
),
SPEC_META_VERSION_MAJ
(
rom
->
version
),
SPEC_META_VERSION_MIN
(
rom
->
version
),
SPEC_META_VERSION_MIN
(
rom
->
version
),
SPEC_META_VERSION_PATCH
(
rom
->
version
));
SPEC_META_VERSION_PATCH
(
rom
->
version
));
if
(
verbose
>
1
)
{
if
(
verbose
>
0
)
{
fprintf
(
stdout
,
" byte-order : %s
\n
"
,
bom_to_str
(
rom
->
bom
));
fprintf
(
stdout
,
" byte-order : %s
\n
"
,
bom_to_str
(
rom
->
bom
));
fprintf
(
stdout
,
" sources : %08x%08x%08x%08x
\n
"
,
fprintf
(
stdout
,
" sources : %08x%08x%08x%08x
\n
"
,
rom
->
src
[
0
],
rom
->
src
[
1
],
rom
->
src
[
2
],
rom
->
src
[
3
]);
rom
->
src
[
0
],
rom
->
src
[
1
],
rom
->
src
[
2
],
rom
->
src
[
3
]);
...
...
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