summaryrefslogtreecommitdiff
path: root/arch/arm/dts/am57xx-beagle-x15-revb1.dts
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2018-08-13 09:33:44 +0200
committerMarek Vasut <marex@denx.de>2018-08-13 15:29:54 +0200
commit40c36f8d4926c6ca3e84f184bc67a498a4983324 (patch)
tree26d27a84a99218a149d8619a127854e455bea05e /arch/arm/dts/am57xx-beagle-x15-revb1.dts
parenta032e0a6aed208977f48e78d2cc497b91543beaf (diff)
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 73172753f4f3 ("ARM: socfpga: Convert to DM serial") Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'arch/arm/dts/am57xx-beagle-x15-revb1.dts')
0 files changed, 0 insertions, 0 deletions