Re: [U-Boot] [PATCH 1/2] spl: Remove bogus GD_FLG_SPL_INIT check

2016-05-31 Thread Pavel Machek
On Mon 2016-05-30 17:22:33, Marek Vasut wrote: > Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). > The check will always fail. This is because spl_relocate_stack_gd() > is called from ARM's crt0.S and it is called before board_init_r(). > The board_init_r() calls spl_init(), which

Re: [U-Boot] [PATCH 1/2] spl: Remove bogus GD_FLG_SPL_INIT check

2016-05-30 Thread Chin Liang See
On Mon, 2016-05-30 at 18:39 +0200, Stefan Roese wrote: > On 30.05.2016 17:22, Marek Vasut wrote: > > Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). > > The check will always fail. This is because spl_relocate_stack_gd() > > is called from ARM's crt0.S and it is called before board

Re: [U-Boot] [PATCH 1/2] spl: Remove bogus GD_FLG_SPL_INIT check

2016-05-30 Thread Stefan Roese
On 30.05.2016 17:22, Marek Vasut wrote: Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). The check will always fail. This is because spl_relocate_stack_gd() is called from ARM's crt0.S and it is called before board_init_r(). The board_init_r() calls spl_init(), which sets the GD_F

[U-Boot] [PATCH 1/2] spl: Remove bogus GD_FLG_SPL_INIT check

2016-05-30 Thread Marek Vasut
Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). The check will always fail. This is because spl_relocate_stack_gd() is called from ARM's crt0.S and it is called before board_init_r(). The board_init_r() calls spl_init(), which sets the GD_FLG_SPL_INIT flag. Note that reserving the