projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46044b4
)
Code cleanup.
author
Wolfgang Denk
<wd@pollux.denx.de>
Sat, 13 Aug 2005 21:13:17 +0000
(23:13 +0200)
committer
Wolfgang Denk
<wd@pollux.denx.de>
Sat, 13 Aug 2005 21:13:17 +0000
(23:13 +0200)
board/at91rm9200dk/flash.c
patch
|
blob
|
history
diff --git
a/board/at91rm9200dk/flash.c
b/board/at91rm9200dk/flash.c
index 5220fcf5d96435ccc22c959bf08b136e7fe357af..f6228ef03e4511de21daec2b6a62c72c4220a299 100644
(file)
--- a/
board/at91rm9200dk/flash.c
+++ b/
board/at91rm9200dk/flash.c
@@
-259,8
+259,7
@@
void flash_print_info (flash_info_t * info)
break;
default:
printf ("Unknown Chip Type\n");
- goto Done;
- break;
+ return;
}
printf (" Size: %ld MB in %d Sectors\n",
@@
-275,8
+274,6
@@
void flash_print_info (flash_info_t * info)
info->protect[i] ? " (RO)" : " ");
}
printf ("\n");
-
-Done: ;
}
/*-----------------------------------------------------------------------