]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:20 +0000 (10:23 +0200)
commite698349ee442c40521d5f9e9ceaca2ba28e8d4e6
treefffead2cbb6f29b61a015362bbf1656666ec4180
parenta783313e6b4834a5aa10136d0f6269297adcfb3a
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