From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 16 Feb 2015 21:23:06 +0100 Subject: [U-Boot] =?utf-8?q?=5BU-Boot=2Cv3=2C07/12=5D_common/board=5Ff=3A_?= =?utf-8?q?factor_out_reserve=5Fstacks?= In-Reply-To: <1423260410-9290-8-git-send-email-andreas.devel@googlemail.com> from Andreas Devel on Fri, 6 Feb 2015 23:06:45 +0100 References: <1423260410-9290-8-git-send-email-andreas.devel@googlemail.com> Message-ID: <1424118186-7750-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Andreas Devel, Andreas Devel 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 >Reviewed-by: Simon Glass >--- > >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