On Tue, Oct 22, 2019 at 09:29:48PM +0200, Simon Goldschmidt wrote:

> The default implementation of ERR_PTR/PTR_ERR maps errno values at the
> and of the address range (e.g. -EINVAL/-22 gets 0xFFFFFFEA).
> 
> For socfpga gen5 SPL, this doesn't really work, as the heap is nearly
> at the end of the 32 bit address range.
> 
> This patch adjusts the ERR_PTR_OFFSET to map errno values into the range
> of the Boot ROM, which should not be used for valid pointers.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to