From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 24 Dec 2012 14:56:03 +0100 Subject: [U-Boot] [PATCH 3/4] fix memory corruption on versatile In-Reply-To: <201212240227.54481.marex@denx.de> References: <1356312106-23337-1-git-send-email-morpheus.ibis@gmail.com> <1356312106-23337-3-git-send-email-morpheus.ibis@gmail.com> <201212240227.54481.marex@denx.de> Message-ID: <20121224145603.1db20cd7@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Pavel, On Mon, 24 Dec 2012 02:27:53 +0100, Marek Vasut 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 > > 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.