board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
PATCH 1/1 board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
Signed-off-by Matthias Fuchs <[email protected]>
--- board/esd/dasa_sim/flash.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
board/esd/dasa_sim/flash.c +0 -3
@@ -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,
Signature · 1 line
1.6.1
PATCH 1/1 board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
Quoted 18 lines
Signed-off-by Matthias Fuchs <[email protected]>--- board/esd/dasa_sim/flash.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)board/esd/dasa_sim/flash.c +0
-1@@ -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) {
board/esd/dasa_sim/flash.c unsigned long flash_init (void) · line 67
Quoted 8 lines
board/esd/dasa_sim/flash.c +0
-2@@ -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,
Ok, I'll pick this one.
PATCH 1/1 board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
Quoted 30 lines
Quoted 30 lines
Signed-off-by Matthias Fuchs <[email protected]>---
board/esd/dasa_sim/flash.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)board/esd/dasa_sim/flash.c +0
-1@@ -44,7 +44,6 @@ unsigned long flash_init (void) {unsigned long size_b0;int i; -unsigned long base_b0;board/esd/dasa_sim/flash.c +0
-2/* 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; -
Quoted 6 lines
board/esd/dasa_sim/flash.c unsigned long flash_init (void) · line 67
Quoted 4 lines
board/esd/dasa_sim/flash.c +0
-0/* Monitor protection ON by default */ board/esd/dasa_sim/flash.c +0
-0(void)flash_protect(FLAG_PROTECT_SET, -monitor_flash_len,Ok, I'll pick this one.
Picked to:
u-boot-staging.git / marek.vasut at gmail.com