Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Glass
Hi Simon, On Mon, 14 Oct 2019 at 14:05, Simon Goldschmidt wrote: > > Am 14.10.2019 um 22:02 schrieb Simon Glass: > > Hi Simon, > > > > On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt > > wrote: > >> > >> Am 12.10.2019 um 00:11 schrieb Simon Glass: > >>> Hi Simon, > >>> > >>> On Fri, 11 Oct 2019

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Goldschmidt
Am 14.10.2019 um 22:02 schrieb Simon Glass: Hi Simon, On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt wrote: Am 12.10.2019 um 00:11 schrieb Simon Glass: Hi Simon, On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt wrote: Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: Hi Simon, On T

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Glass
Hi Simon, On Mon, 14 Oct 2019 at 13:13, Simon Goldschmidt wrote: > > Am 12.10.2019 um 00:11 schrieb Simon Glass: > > Hi Simon, > > > > On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt > > wrote: > >> > >> > >> > >> Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: > >>> > >>> Hi Simon, > >>> > >

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-14 Thread Simon Goldschmidt
Am 12.10.2019 um 00:11 schrieb Simon Glass: Hi Simon, On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt wrote: Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: Hi Simon, On Tue, 8 Oct 2019 at 14:34, Simon Goldschmidt wrote: In a series I'm currently preparing, I've stumbled accross th

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-11 Thread Simon Glass
Hi Simon, On Fri, 11 Oct 2019 at 12:31, Simon Goldschmidt wrote: > > > > Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: >> >> Hi Simon, >> >> On Tue, 8 Oct 2019 at 14:34, Simon Goldschmidt >> wrote: >> > >> > In a series I'm currently preparing, I've stumbled accross the fact that >> > IS_ER

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-11 Thread Simon Goldschmidt
Simon Glass schrieb am Fr., 11. Okt. 2019, 20:27: > Hi Simon, > > On Tue, 8 Oct 2019 at 14:34, Simon Goldschmidt > wrote: > > > > In a series I'm currently preparing, I've stumbled accross the fact that > > IS_ERR_VALUE() doesn't reliably work on socfpga SPL as the onchip SRAM > > begins at 0xff

Re: [U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-11 Thread Simon Glass
Hi Simon, On Tue, 8 Oct 2019 at 14:34, Simon Goldschmidt wrote: > > In a series I'm currently preparing, I've stumbled accross the fact that > IS_ERR_VALUE() doesn't reliably work on socfpga SPL as the onchip SRAM > begins at 0x and the heap is at the end of the 32 bit range. > Which fun

[U-Boot] IS_ERR_VALUE failing on socfpga gen5

2019-10-08 Thread Simon Goldschmidt
In a series I'm currently preparing, I've stumbled accross the fact that IS_ERR_VALUE() doesn't reliably work on socfpga SPL as the onchip SRAM begins at 0x and the heap is at the end of the 32 bit range. Being like that, the current test for error (value >= -4095) which equals 'value