Re: [U-Boot] [U-Boot,V3,1/2] spl: Fix redundant image of uboot

2018-07-20 Thread Tom Rini
On Fri, Jul 20, 2018 at 10:27:26PM +0200, Michael Nazzareno Trimarchi wrote: > Hi > > On Fri, Jul 20, 2018 at 10:11 PM, Tom Rini wrote: > > On Fri, Jul 20, 2018 at 10:09:00PM +0200, Michael Nazzareno Trimarchi wrote: > >> Hi Tom > >> > >> On Fri, Jul 20, 2018 at 9:54 PM, Tom Rini wrote: > >> >

Re: [U-Boot] [U-Boot,V3,1/2] spl: Fix redundant image of uboot

2018-07-20 Thread Michael Nazzareno Trimarchi
Hi On Fri, Jul 20, 2018 at 10:11 PM, Tom Rini wrote: > On Fri, Jul 20, 2018 at 10:09:00PM +0200, Michael Nazzareno Trimarchi wrote: >> Hi Tom >> >> On Fri, Jul 20, 2018 at 9:54 PM, Tom Rini wrote: >> > On Fri, Jul 06, 2018 at 05:09:22PM +0200, Michael Trimarchi wrote: >> > >> >> We need to addre

Re: [U-Boot] [U-Boot,V3,1/2] spl: Fix redundant image of uboot

2018-07-20 Thread Tom Rini
On Fri, Jul 20, 2018 at 10:09:00PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Tom > > On Fri, Jul 20, 2018 at 9:54 PM, Tom Rini wrote: > > On Fri, Jul 06, 2018 at 05:09:22PM +0200, Michael Trimarchi wrote: > > > >> We need to address the redundat image case and undestand if the > >> image is

Re: [U-Boot] [U-Boot,V3,1/2] spl: Fix redundant image of uboot

2018-07-20 Thread Michael Nazzareno Trimarchi
Hi Tom On Fri, Jul 20, 2018 at 9:54 PM, Tom Rini wrote: > On Fri, Jul 06, 2018 at 05:09:22PM +0200, Michael Trimarchi wrote: > >> We need to address the redundat image case and undestand if the >> image is corrupted or not. In error case we need to try the fallback copy. >> The function used befo

Re: [U-Boot] [U-Boot,V3,1/2] spl: Fix redundant image of uboot

2018-07-20 Thread Tom Rini
On Fri, Jul 06, 2018 at 05:09:22PM +0200, Michael Trimarchi wrote: > We need to address the redundat image case and undestand if the > image is corrupted or not. In error case we need to try the fallback copy. > The function used before was always return 0 without any evaluation of the > error. We