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)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 17 Feb 2015 21:52:42 +0000 (22:52 +0100)
commit68145d4c7b3aa83d74c2dc904a39fab17cee1691
treea4b3b7204d322654ecd5afe9cc05a5f043adfa9f
parent4db896236cdac37db17b215ba3ff2d2701bddb49
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