Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
abcac872
Commit
abcac872
authored
Dec 09, 2003
by
stroese
Browse files
Fix output for "Unprotecting".
parent
38a95195
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/cmd_flash.c
View file @
abcac872
...
...
@@ -463,7 +463,8 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
}
if
(
s_first
[
bank
]
>=
0
&&
s_first
[
bank
]
<=
s_last
[
bank
])
{
debug
(
"Protecting sectors %d..%d in bank %ld
\n
"
,
debug
(
"%sProtecting sectors %d..%d in bank %ld
\n
"
,
p
?
""
:
"Un-"
,
s_first
[
bank
],
s_last
[
bank
],
bank
+
1
);
protected
+=
s_last
[
bank
]
-
s_first
[
bank
]
+
1
;
for
(
i
=
s_first
[
bank
];
i
<=
s_last
[
bank
];
++
i
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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