Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-21 Thread Simon Glass
Hi Aexey, On 15 December 2015 at 03:06, Alexey Brodkin wrote: > Current implementation of disabled relocation only works for EFI. > > In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of > jumping further in board_init_r() etc. And jump_to_copy() being the last > call in init_sequen

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-21 Thread Alexey Brodkin
Hi Simon, On Thu, 2015-12-17 at 18:36 +0800, Bin Meng wrote: > Hi Alexey, > > On Thu, Dec 17, 2015 at 3:13 AM, Alexey Brodkin > wrote: > > Hi Bin, > > > > On Tue, 2015-12-15 at 20:45 +0800, Bin Meng wrote: > > > On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin > > > wrote: > > > > Current imple

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-17 Thread Bin Meng
Hi Alexey, On Thu, Dec 17, 2015 at 3:13 AM, Alexey Brodkin wrote: > Hi Bin, > > On Tue, 2015-12-15 at 20:45 +0800, Bin Meng wrote: >> On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin >> wrote: >> > Current implementation of disabled relocation only works for EFI. >> > >> > In case of GD_FLG_SKIP_

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-16 Thread Alexey Brodkin
Hi Bin, On Tue, 2015-12-15 at 20:45 +0800, Bin Meng wrote: > On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin > wrote: > > Current implementation of disabled relocation only works for EFI. > > > > In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of > > jumping further in board_init

Re: [U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-15 Thread Bin Meng
On Tue, Dec 15, 2015 at 6:06 PM, Alexey Brodkin wrote: > Current implementation of disabled relocation only works for EFI. > > In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of > jumping further in board_init_r() etc. And jump_to_copy() being the last > call in init_sequence_f whe

[U-Boot] [RFC] board_f: generalize code for case of no relocation

2015-12-15 Thread Alexey Brodkin
Current implementation of disabled relocation only works for EFI. In case of GD_FLG_SKIP_RELOC jump_to_copy() will return instead of jumping further in board_init_r() etc. And jump_to_copy() being the last call in init_sequence_f when returning simply triggers hang() in board_init_f(). Well for ev