u-boot/arch/arm/mach-socfpga
Simon Goldschmidt a43b60cc78 arm: socfpga: gen5: fix ERR_PTR_OFFSET
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.goldschmidt@gmail.com>
2019-11-07 18:01:13 -05:00
..
include/mach arm: socfpga: rst: add register definition for cold reset 2019-07-21 12:45:10 +02:00
Kconfig arm: socfpga: gen5: fix ERR_PTR_OFFSET 2019-11-07 18:01:13 -05:00
Makefile sysreset: add support for socfpga sysreset 2019-07-21 12:45:10 +02:00
board.c
clock_manager.c
clock_manager_arria10.c
clock_manager_gen5.c
clock_manager_s10.c
fpga_manager.c
freeze_controller.c
mailbox_s10.c
misc.c ARM: socfpga: Pull PL310 clearing into common code 2019-05-24 00:01:08 +02:00
misc_arria10.c
misc_gen5.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
misc_s10.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
mmu-arm64_s10.c
pinmux_arria10.c
qts-filter.sh
reset_manager_arria10.c
reset_manager_gen5.c arm: socfpga: remove re-added ad-hoc reset code 2019-05-14 19:52:38 +02:00
reset_manager_s10.c arm: sofcpga: s10: remove unused ad-hoc reset code 2019-05-14 19:52:39 +02:00
scan_manager.c
spl_a10.c ARM: socfpga: Clear PL310 early in SPL 2019-05-24 00:01:08 +02:00
spl_gen5.c arm: socfpga: gen5: don't zero bss in board_init_f() 2019-08-15 08:50:02 +02:00
spl_s10.c
system_manager_gen5.c
system_manager_s10.c
timer.c
timer_s10.c
wrap_iocsr_config.c
wrap_pinmux_config.c
wrap_pinmux_config_s10.c
wrap_pll_config.c
wrap_pll_config_s10.c
wrap_sdram_config.c