common/board_f: factor out reserve_stacks
authorAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 6 Feb 2015 22:06:45 +0000 (23:06 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:53:51 +0000 (13:53 +0200)
commit08febde1706f98a2c39574c57033ff28687ef5a8
tree9fddc8a2b62c0e8f079de5c584f9ce0d1f377502
parent557081372574e740607ebafcd3a12bdab58d16ef
common/board_f: factor out reserve_stacks

Introduce arch_reserve_stacks() to tailor gd->start_addr_sp and gd->irq_sp to
the architecture needs.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/Makefile
arch/arm/lib/stack.c [new file with mode: 0644]
arch/powerpc/lib/Makefile
arch/powerpc/lib/stack.c [new file with mode: 0644]
common/board_f.c
include/common.h