Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-21 Thread Simon Glass
Hi Jeroen, On Wed, Aug 21, 2013 at 10:22 AM, Jeroen Hofstee wrote: > Hello Simon, > > > On 08/19/2013 07:32 PM, Jeroen Hofstee wrote: >> >> >> On 08/19/2013 05:08 AM, Simon Glass wrote: >>> >>> On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee >>> wrote: This patch assumes only crt0

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-21 Thread Jeroen Hofstee
Hello Simon, On 08/19/2013 07:32 PM, Jeroen Hofstee wrote: On 08/19/2013 05:08 AM, Simon Glass wrote: On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee wrote: This patch assumes only crt0.S sets the register used for gd in asm. I just noticed cpu/armv7/lowlevel_init.S does set gd manually, so

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-19 Thread Jeroen Hofstee
Hello Simon, On 08/19/2013 05:08 AM, Simon Glass wrote: On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee wrote: This patch assumes only crt0.S sets the register used for gd in asm. I just noticed cpu/armv7/lowlevel_init.S does set gd manually, so all users of the common board.c are likely bric

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-18 Thread Simon Glass
Hi Jeroen, On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee wrote: > On 08/14/2013 08:25 PM, Jeroen Hofstee wrote: >> >> To be more EABI compliant and as a preparation for building >> with clang, use the platform-specific r9 register for gd >> instead of r8. >> >> note: The FIQ is not updated sinc

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-17 Thread Jeroen Hofstee
On 08/17/2013 11:40 AM, Jeroen Hofstee wrote: On 08/14/2013 08:25 PM, Jeroen Hofstee wrote: To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under

Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-17 Thread Jeroen Hofstee
On 08/14/2013 08:25 PM, Jeroen Hofstee wrote: To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under discussion for the time being. The following c

[U-Boot] [PATCH v2 3/4] ARM: use r9 for gd

2013-08-14 Thread Jeroen Hofstee
To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under discussion for the time being. The following checkpatch warning is ignored: WARNING: Use of vo