ARM: zynq: zed: partially revert zynq_cpu_lowlevel_init() chnages
Calling arm_cpu_lowlevel_init() from zynq_cpu_lowlevel_init() adds a stack
push/pop to the latter function which doesn't work this early in the boot.

As the BootROM apparently hands proccessor control to us in abort(!?!)
mode, setting up a stack requires duplicating most of arm_cpu_lowlevel_init().
To get around this catch-22 move the call to arm_cpu_lowlevel_init back into
the board lowlevel start function, so we don't need a stack at all.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent aa0746b commit 32895789f97ec7d2e0b6d37285482d0cf548434f
@Lucas Stach Lucas Stach authored on 13 Jan 2020
Sascha Hauer committed on 14 Jan 2020
Showing 2 changed files
View
arch/arm/boards/avnet-zedboard/lowlevel.c
View
arch/arm/mach-zynq/cpu_init.c