Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
639c82df
Commit
639c82df
authored
Aug 17, 2012
by
Henrik Nordstrom
Browse files
bootinfo: Correct storage GPIO settings printout
parent
09dffd4c
Changes
1
Show whitespace changes
Inline
Side-by-side
bootinfo.c
View file @
639c82df
...
...
@@ -231,7 +231,7 @@ void print_boot0_private_head(boot0_private_head_t *hdr)
pprintf
(
&
hdr
->
enable_jtag
,
"JTAG en : %d
\n
"
,
hdr
->
enable_jtag
);
print_normal_gpio_cfg
(
hdr
->
jtag_gpio
,
5
);
pprintf
(
&
hdr
->
storage_gpio
,
"STORAGE :
\n
"
);
print_normal_gpio_cfg
(
hdr
->
storage_gpio
,
2
);
print_normal_gpio_cfg
(
hdr
->
storage_gpio
,
3
2
);
int
i
;
for
(
i
=
0
;
i
<
256
;
i
++
)
{
if
(
i
%
16
==
0
)
{
...
...
@@ -271,7 +271,9 @@ void print_boot1_private_head(boot1_private_head_t *hdr)
pprintf
(
&
hdr
->
hold_key_min
,
"Hold key min : %d
\n
"
,
hdr
->
hold_key_min
);
pprintf
(
&
hdr
->
hold_key_max
,
"Hold key max : %d
\n
"
,
hdr
->
hold_key_max
);
pprintf
(
&
hdr
->
work_mode
,
"Work mode : %d
\n
"
,
hdr
->
work_mode
);
pprintf
(
&
hdr
->
storage_type
,
"Storage : %d
\n
"
,
hdr
->
storage_type
);
pprintf
(
&
hdr
->
storage_type
,
"STORAGE :
\n
"
);
pprintf
(
&
hdr
->
storage_type
,
" type : %d
\n
"
,
hdr
->
storage_type
);
print_normal_gpio_cfg
(
hdr
->
storage_gpio
,
32
);
int
i
;
for
(
i
=
0
;
i
<
256
;
i
++
)
{
if
(
i
%
16
==
0
)
{
...
...
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