Re: [U-Boot] [RFC 03/10] board_r: only assign gd when requested

2014-06-03 Thread York Sun
On Jun 3, 2014, at 8:52 PM, Stefan Roese wrote: > Hi Jeroen, > > (added York to cc as he introduced CONFIG_SYS_GENERIC_GLOBAL_DATA with patch > 2a1680e3 [common/board_f: Initialized global data for generic board]) > > On 03.06.2014 22:52, Jeroen Hofstee wrote: >> Hello Wolfgang / Stefan. >> >

Re: [U-Boot] [RFC 03/10] board_r: only assign gd when requested

2014-06-03 Thread Stefan Roese
Hi Jeroen, (added York to cc as he introduced CONFIG_SYS_GENERIC_GLOBAL_DATA with patch 2a1680e3 [common/board_f: Initialized global data for generic board]) On 03.06.2014 22:52, Jeroen Hofstee wrote: Hello Wolfgang / Stefan. On za, 2014-05-31 at 22:32 +0200, Jeroen Hofstee wrote: When CONF

Re: [U-Boot] [RFC 03/10] board_r: only assign gd when requested

2014-06-03 Thread Jeroen Hofstee
Hello Wolfgang / Stefan. On za, 2014-05-31 at 22:32 +0200, Jeroen Hofstee wrote: > When CONFIG_SYS_GENERIC_GLOBAL_DATA is not set the arch handles > the assignment of gd. At least in case of ARM/Aarch64 this means > board_init_r is alteady called with the new gd. Therefore only > assign gd if CONF

Re: [U-Boot] [RFC 03/10] board_r: only assign gd when requested

2014-06-02 Thread Simon Glass
On 31 May 2014 14:32, Jeroen Hofstee wrote: > When CONFIG_SYS_GENERIC_GLOBAL_DATA is not set the arch handles > the assignment of gd. At least in case of ARM/Aarch64 this means > board_init_r is alteady called with the new gd. Therefore only > assign gd if CONFIG_SYS_GENERIC_GLOBAL_DATA is defined

[U-Boot] [RFC 03/10] board_r: only assign gd when requested

2014-05-31 Thread Jeroen Hofstee
When CONFIG_SYS_GENERIC_GLOBAL_DATA is not set the arch handles the assignment of gd. At least in case of ARM/Aarch64 this means board_init_r is alteady called with the new gd. Therefore only assign gd if CONFIG_SYS_GENERIC_GLOBAL_DATA is defined. --- common/board_r.c | 2 +- 1 file changed, 1 ins