diff options
author | York Sun <yorksun@freescale.com> | 2014-05-03 00:28:04 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-12 19:20:05 (GMT) |
commit | 2a1680e30e3fa8257b60cb9dbd7add32539ac470 (patch) | |
tree | cc8ddc1f7e452ba131820fd872833855f440d82d /README | |
parent | 7e18a1b9586e4d992f49bcd0728a93f8828b9f98 (diff) | |
download | u-boot-2a1680e30e3fa8257b60cb9dbd7add32539ac470.tar.xz |
common/board_f: Initialized global data for generic board
Some platforms (tested on mpc85xx, mpc86xx) use global data before calling
function baord_inti_f(). The data should not be cleared later. Any arch
which uses global data in generic board board_init_f() should define
CONFIG_SYS_GENERIC_GLOBAL_DATA.
Signed-off-by: York Sun <yorksun@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
CC: Simon Glass <sjg@chromium.org>
CC: Albert ARIBAUD <albert.u.boot@aribaud.net>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -451,6 +451,12 @@ The following options need to be configured: supported, core will start to execute uboot when wakes up. - Generic CPU options: + CONFIG_SYS_GENERIC_GLOBAL_DATA + Defines global data is initialized in generic board board_init_f(). + If this macro is defined, global data is created and cleared in + generic board board_init_f(). Without this macro, architecture/board + should initialize global data before calling board_init_f(). + CONFIG_SYS_BIG_ENDIAN, CONFIG_SYS_LITTLE_ENDIAN Defines the endianess of the CPU. Implementation of those |