commit | 4d94dfa0594260245813ea150e276908cc677199 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 10 22:23:27 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 23 14:05:39 2014 +0100 |
tree | dd76c6a8cfeb5daee2b8ede36804aa9034696e44 | |
parent | d93041a4ca0e421dd2a5683563de10e4694e6394 [diff] |
sandbox: Set up global data before board_init_f() 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 process. Signed-off-by: Simon Glass <sjg@chromium.org>