Re: [U-Boot] [RFC] move booti_setup to arch/arm/lig/image.c

2017-08-07 Thread Bin Chen
On 8 August 2017 at 02:13, Tom Rini wrote: > On Fri, Jul 28, 2017 at 06:04:11PM +1000, Bin Chen wrote: > > > Follow bootz's pattern by moving the booti_setup to arch/arm/lib. > > This allows to use that function in other path, e.g booting > > an android image contains Image

Re: [U-Boot] [RFC] move booti_setup to arch/arm/lig/image.c

2017-08-07 Thread Tom Rini
On Fri, Jul 28, 2017 at 06:04:11PM +1000, Bin Chen wrote: > Follow bootz's pattern by moving the booti_setup to arch/arm/lib. > This allows to use that function in other path, e.g booting > an android image contains Image format. > > Note that kernel relocation is move out of booti_setup and it

[U-Boot] [RFC] move booti_setup to arch/arm/lig/image.c

2017-07-28 Thread Bin Chen
Follow bootz's pattern by moving the booti_setup to arch/arm/lib. This allows to use that function in other path, e.g booting an android image contains Image format. Note that kernel relocation is move out of booti_setup and it is the caller's responsibility to do it and allows them do it