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

Albert ARIBAUD
2015-11-13T06:41:43Z

Hello Thomas,

On Thu, 12 Nov 2015 13:59:28 +0800, Thomas Chou <thomas@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.