u-boot-brain/arch/arm/mach-socfpga
Simon Goldschmidt 40c36f8d49 arm: socfpga: fix SPL on gen5 after moving to DM serial
There were NULL pointers dereferenced because DM was used
too early without correct initialization:
- malloc_simple returned NULL when called from preloader_console_init()
  because gd->malloc_limit was 0
- uclass_add dereferenced gd->uclass_root members which were NULL because
  dm_init (or one of its relatives) has not been called.

All this is fixed by calling spl_early_init before calling
preloader_console_init.

This fixes commit 73172753f4 ("ARM: socfpga: Convert to DM serial")

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
2018-08-13 15:29:54 +02:00
..
include/mach ddr: altera: stratix10: Add DDR support for Stratix10 SoC 2018-07-12 09:22:12 +02:00
board.c ARM: socfpga: Assure correct CPACR configuration 2018-07-25 00:13:32 +02:00
clock_manager_arria10.c ARM: socfpga: Sync A10 clock manager binding parser 2018-05-18 10:30:46 +02:00
clock_manager_gen5.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clock_manager_s10.c arm: socfpga: stratix10: Add clock manager driver for Stratix10 SoC 2018-05-18 10:30:47 +02:00
clock_manager.c arm: socfpga: stratix10: Add clock manager driver for Stratix10 SoC 2018-05-18 10:30:47 +02:00
fpga_manager.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
freeze_controller.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mailbox_s10.c arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC 2018-07-12 09:22:11 +02:00
Makefile arm: socfpga: stratix10: Add timer support for Stratix10 SoC 2018-07-12 09:22:12 +02:00
misc_arria10.c ARM: socfpga: Init missing security policies on A10 2018-07-25 00:13:32 +02:00
misc_gen5.c arm: socfpga: misc: Move bridge command to misc common 2018-07-12 09:22:11 +02:00
misc_s10.c arm: socfpga: stratix10: Add misc support for Stratix10 SoC 2018-07-12 09:22:11 +02:00
misc.c lib: fdtdec: Rename routine fdtdec_setup_memory_size() 2018-07-19 10:49:56 +02:00
mmu-arm64_s10.c arm: socfpga: stratix10: Add MMU support for Stratix10 SoC 2018-07-12 09:22:11 +02:00
pinmux_arria10.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qts-filter.sh SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
reset_manager_arria10.c ARM: socfpga: Zap CONFIG_SOCFPGA_VIRTUAL_TARGET 2018-05-18 10:30:46 +02:00
reset_manager_gen5.c ARM: socfpga: Zap CONFIG_SOCFPGA_VIRTUAL_TARGET 2018-05-18 10:30:46 +02:00
reset_manager_s10.c arm: socfpga: stratix10: Add reset manager driver for Stratix10 SoC 2018-05-18 10:30:47 +02:00
reset_manager.c arm: socfpga: stratix10: Add reset manager driver for Stratix10 SoC 2018-05-18 10:30:47 +02:00
scan_manager.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl_a10.c Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2018-07-13 14:47:04 -04:00
spl_gen5.c arm: socfpga: fix SPL on gen5 after moving to DM serial 2018-08-13 15:29:54 +02:00
spl_s10.c arm: socfpga: Fixes: include <debug_uart.h> 2018-07-12 16:03:35 +02:00
system_manager_gen5.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
system_manager_s10.c arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC 2018-05-18 10:30:48 +02:00
timer_s10.c arm: socfpga: stratix10: Add timer support for Stratix10 SoC 2018-07-12 09:22:12 +02:00
timer.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_iocsr_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pinmux_config_s10.c arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC 2018-05-18 10:30:48 +02:00
wrap_pinmux_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pll_config_s10.c arm: socfpga: stratix10: Add clock manager driver for Stratix10 SoC 2018-05-18 10:30:47 +02:00
wrap_pll_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_sdram_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00