commit | 08ef305e55a831fdf0466661645814b31b213db5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Aug 10 20:44:30 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Aug 14 09:50:10 2015 -0600 |
tree | 8dc105879389696980528ca1afa3c89092e3234a | |
parent | 862396c91becbb314d0c2a9b3093e89cbebf0376 [diff] |
Allow arch-specific setting of global_data in board_init_f_mem() At present we have a simple assignment to gd. With some archs this is implemented as a register or through some other means; a simple assignment does not suit in all cases. Change this to a function and add documentation to describe how this all works. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <yorksun@freescale.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>