zynq: Use arch_cpu_init() instead of lowlevel_init()
authorMichal Simek <michal.simek@xilinx.com>
Thu, 22 Aug 2013 12:52:02 +0000 (14:52 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 17 Oct 2013 06:34:45 +0000 (08:34 +0200)
commit262f08d6ea18a62f827b8ccb60f355ca2eaf6e2b
tree3e0018f2503c28f259de50ec637b83ac4969a0a7
parent183acb700378a8cfc5d50a01a65de93fb2c24586
zynq: Use arch_cpu_init() instead of lowlevel_init()

Zynq lowlevel_init() was implemented in C but stack
pointer is setup after function call in _main().
Move architecture setup to arch_cpu_init() which is call
as the first function in board_init_f() which
already have correct stack pointer.

Reported-by: Sven Schwermer <sven.schwermer@tuhh.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/cpu.c