mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
Fix output for "Unprotecting".
This commit is contained in:
parent
38a951956b
commit
abcac8725f
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue