* [U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
@ 2011-11-24 15:39 Matthias Fuchs
2011-11-24 17:06 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fuchs @ 2011-11-24 15:39 UTC (permalink / raw)
To: u-boot
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
board/esd/dasa_sim/flash.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c
index d6a7737..e2f2aac 100644
--- 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,
--
1.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
2011-11-24 15:39 [U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning Matthias Fuchs
@ 2011-11-24 17:06 ` Marek Vasut
2011-11-24 17:30 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2011-11-24 17:06 UTC (permalink / raw)
To: u-boot
> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> ---
> board/esd/dasa_sim/flash.c | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c
> index d6a7737..e2f2aac 100644
> --- 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,
Ok, I'll pick this one.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning
2011-11-24 17:06 ` Marek Vasut
@ 2011-11-24 17:30 ` Marek Vasut
0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2011-11-24 17:30 UTC (permalink / raw)
To: u-boot
> > Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> > ---
> >
> > board/esd/dasa_sim/flash.c | 3 ---
> > 1 files changed, 0 insertions(+), 3 deletions(-)
> >
> > diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c
> > index d6a7737..e2f2aac 100644
> > --- 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,
>
> Ok, I'll pick this one.
Picked to:
u-boot-staging.git / marek.vasut at gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-24 17:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 15:39 [U-Boot] [PATCH] board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning Matthias Fuchs
2011-11-24 17:06 ` Marek Vasut
2011-11-24 17:30 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox