[U-Boot] [PATCH 3/4] fix memory corruption on versatile

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Dec 24 14:56:03 CET 2012


Hi Pavel,

On Mon, 24 Dec 2012 02:27:53 +0100, Marek Vasut <marex at denx.de> wrote:
> Dear Pavel Herrmann,
> 
> > ARM board.c doesnt respect CONFIG_SYS_GBL_DATA_OFFSET, nor do all boards
> > set it, so reorganize the memory a bit to avoid overlaps.
> > 
> > Signed-off-by: Pavel Herrmann <morpheus.ibis at gmail.com>
> 
> Ccing Albert
> 
> > ---
> >  include/configs/versatile.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/include/configs/versatile.h b/include/configs/versatile.h
> > index c9aed72..27ffffe 100644
> > --- a/include/configs/versatile.h
> > +++ b/include/configs/versatile.h
> > @@ -35,7 +35,7 @@
> >  #define CONFIG_DM_BLOCK
> >  #define CONFIG_SYS_EARLY_MALLOC
> >  #define CONFIG_SYS_EARLY_HEAP_ADDR	(CONFIG_SYS_INIT_RAM_ADDR + \
> > -						CONFIG_SYS_GBL_DATA_OFFSET - \
> > +						CONFIG_SYS_INIT_RAM_SIZE - \
> >  						CONFIG_SYS_EARLY_HEAP_SIZE - 64)
> >  #define CONFIG_SYS_EARLY_HEAP_SIZE	1024
> 
> Best regards,
> Marek Vasut

I can't seem to find this patch in my inbox or in the list archives.

Pavel, can you please repost it?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list