On Fri, 2014-05-02 at 17:14 -0700, York Sun wrote: > On 05/01/2014 07:45 PM, Simon Glass wrote: > > On 1 May 2014 16:00, York Sun <york...@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 <york...@freescale.com> > >> CC: Scott Wood <scottw...@freescale.com> > >> CC: Simon Glass <s...@chromium.org> > >> CC: Albert ARIBAUD <albert.u.b...@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 <s...@chromium.org> > > > > Simon, > > Sandbox doesn't have CONFIG_SYS_GENERIC_BOARD defined yet. Did you convert it > recently?
Look in arch/sandbox/config.mk. Likewise with arch/x86/include/asm/config.h. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot