[U-Boot] [PATCH v2] Fix board init code to use a valid C runtime environment

Albert ARIBAUD albert.u.boot at aribaud.net
Fri Nov 13 07:41:43 CET 2015


Hello Thomas,

On Thu, 12 Nov 2015 13:59:28 +0800, Thomas Chou <thomas at wytron.com.tw>
wrote:
> Hi Albert,

> -	/* Update stack- and frame-pointers */
> -	mov	sp, r2
> -	mov	fp, sp

Just a sec here on second thought.

I understand the 'mov sp, r2' must be removed as it is replaced by a
'sub sp, sp, r2' a few lines earlier.

But doesn't the 'mov fp, sp' need to remain? Without it, fp is not set
any more, is it?

> Best regards,
> Thomas

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list