commit | c395fdfa2eda157f2b0c2be055db56399b4cd322 | [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 | 7471cc7619ef8fd1a08d49ef0c20977e2eb5a74a [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>