Re: [U-Boot] [PATCH v3 3/9] sandbox: Set up global data before board_init_f()

2014-07-26 Thread Simon Glass
On 11 July 2014 05:23, Simon Glass s...@chromium.org wrote: At present sandbox defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that the global_data pointer is set up in board_init_f(). If we set up and zero the global data before calling board_init_f() then we don't need to define

[U-Boot] [PATCH v3 3/9] sandbox: Set up global data before board_init_f()

2014-07-10 Thread Simon Glass
At present sandbox defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that the global_data pointer is set up in board_init_f(). If we set up and zero the global data before calling board_init_f() then we don't need to define CONFIG_SYS_GENERIC_GLOBAL_DATA. Make this change to simplify the init