From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 01 Dec 2010 07:50:40 +0100 Subject: [U-Boot] [PATCH 4/4] armv7: fix relocation skip In-Reply-To: <1291161516-21861-5-git-send-email-andreas.devel@googlemail.com> References: <1291161516-21861-1-git-send-email-andreas.devel@googlemail.com> <1291161516-21861-5-git-send-email-andreas.devel@googlemail.com> Message-ID: <4CF5F040.1030805@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 01/12/2010 00:58, Andreas Bie?mann a ?crit : > I doubt the stack_setup() was defective before: > we load the current location of _start and compare against destination > of relocate_code(). If we are already there we shoud skip the > relocation and jump over to clear_bss. Before the clear_bss was also skipped. > > Signed-off-by: Andreas Bie?mann > --- > Dear Albert, > (or whoever works with armv7 currently) > > However I doubt there is another issue when CONFIG_PRELOADER is not set! > Then the bss will never be setup, is that correct? That is correct and had to be fixed indeed. Thanks! Amicalement, -- Albert.