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:
7c9543f
)
board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
author
Matthias Fuchs
<matthias.fuchs@esd.eu>
Thu, 24 Nov 2011 15:39:18 +0000
(16:39 +0100)
committer
Marek Vasut
<marek.vasut@gmail.com>
Fri, 2 Dec 2011 09:56:21 +0000
(10:56 +0100)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
board/esd/dasa_sim/flash.c
patch
|
blob
|
history
diff --git
a/board/esd/dasa_sim/flash.c
b/board/esd/dasa_sim/flash.c
index d6a773797514226432d69c9af666dfcc59b80b07..e2f2aac7dc65d9a844c622176ad00b70752fad90 100644
(file)
--- a/
board/esd/dasa_sim/flash.c
+++ b/
board/esd/dasa_sim/flash.c
@@
-44,7
+44,6
@@
unsigned long flash_init (void)
{
unsigned long size_b0;
int i;
- unsigned long base_b0;
/* Init: no FLASHes known */
for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
@@
-63,8
+62,6
@@
unsigned long flash_init (void)
/* Setup offsets */
flash_get_offsets (-size_b0, &flash_info[0]);
- base_b0 = -size_b0;
-
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-monitor_flash_len,