[U-Boot] [Patch v4 1/2] common/board_f: Initialized global data for generic board
York Sun
yorksun at freescale.com
Sat May 3 02:14:24 CEST 2014
On 05/01/2014 07:45 PM, Simon Glass wrote:
> On 1 May 2014 16:00, York Sun <yorksun at freescale.com> wrote:
>> 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 at freescale.com>
>> CC: Scott Wood <scottwood at freescale.com>
>> CC: Simon Glass <sjg at chromium.org>
>> CC: Albert ARIBAUD <albert.u.boot at aribaud.net>
>> ---
>> Change log
>>
>> v4: Replace with CONFIG_SYS_GENERIC_GLOBAL_DATA, a positive logic
>> v3: Introduce CONFIG_SYS_EARLY_GD instead of using a list
>> v2: Instead of adding back gd init for all PPC, preserve gd for mpc85xx and mpc86xx.
>>
>> README | 6 ++++++
>> arch/arc/include/asm/config.h | 2 ++
>> arch/arm/include/asm/config.h | 2 ++
>> arch/mips/include/asm/config.h | 2 ++
>
> I think you will need sandbox also. Otherwise looks good.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
Simon,
Sandbox doesn't have CONFIG_SYS_GENERIC_BOARD defined yet. Did you convert it
recently?
York
More information about the U-Boot
mailing list