Re: [PATCH] ARM: zynq: zed: partially revert zynq_cpu_lowlevel_init() chnages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 13, 2020 at 08:36:37PM +0100, Lucas Stach wrote:
> 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@xxxxxxxxxx>
> ---
>  arch/arm/boards/avnet-zedboard/lowlevel.c | 1 +
>  arch/arm/mach-zynq/cpu_init.c             | 2 --
>  2 files changed, 1 insertion(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux