[U-Boot] [U-Boot,v3,07/12] common/board_f: factor out reserve_stacks
Andreas Bießmann
andreas.devel at googlemail.com
Mon Feb 16 21:23:06 CET 2015
Dear Andreas Devel,
Andreas Devel <andreas.devel at googlemail.com> writes:
>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 at googlemail.com>
>Reviewed-by: Simon Glass <sjg at chromium.org>
>---
>
>Changes in v3:
>- make arch_reserve_stacks weak and adopt ppc/arm versions
>
>Changes in v2:
>- new since v1
>
>Changes in v1: None
>
> arch/arm/lib/Makefile | 1 +
> arch/arm/lib/stack.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> arch/powerpc/lib/Makefile | 1 +
> arch/powerpc/lib/stack.c | 31 +++++++++++++++++++++++++++++++
> common/board_f.c | 44 +++++++++-----------------------------------
> include/common.h | 18 ++++++++++++++++++
> 6 files changed, 102 insertions(+), 35 deletions(-)
> create mode 100644 arch/arm/lib/stack.c
> create mode 100644 arch/powerpc/lib/stack.c
applied to u-boot-avr32/master, thanks!
Best regards,
Andreas Bießmann
More information about the U-Boot
mailing list