]> git.dujemihanovic.xyz Git - u-boot.git/commit
Allow arch-specific setting of global_data in board_init_f_mem()
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2015 02:44:30 +0000 (20:44 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 15:50:10 +0000 (09:50 -0600)
commit1fed87db6a6a2eea7f93667e98db41e258b9c8f0
tree8dc105879389696980528ca1afa3c89092e3234a
parent2afddae07523f23f77acd066ad1719f53d289f98
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>
common/board_f.c
include/common.h