From patchwork Wed Nov 2 02:06:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 690229 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3t7s3D5cQ1z9t9b for ; Wed, 2 Nov 2016 13:08:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 55971A754C; Wed, 2 Nov 2016 03:08:55 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KpkYwOR_247t; Wed, 2 Nov 2016 03:08:55 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D059DA7535; Wed, 2 Nov 2016 03:08:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BE113A7544 for ; Wed, 2 Nov 2016 03:08:52 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YwT_H2iuKCKC for ; Wed, 2 Nov 2016 03:08:52 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from fed1rmfepo103.cox.net (fed1rmfepo103.cox.net [68.230.241.145]) by theia.denx.de (Postfix) with ESMTP id 116BFA7535 for ; Wed, 2 Nov 2016 03:08:48 +0100 (CET) Received: from fed1rmimpo209.cox.net ([68.230.241.160]) by fed1rmfepo103.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20161102020847.FFWD4001.fed1rmfepo103.cox.net@fed1rmimpo209.cox.net> for ; Tue, 1 Nov 2016 22:08:47 -0400 Received: from localhost.localdomain ([98.165.102.90]) by fed1rmimpo209.cox.net with cox id 2q8b1u00H1x1f0q01q8nhV; Tue, 01 Nov 2016 22:08:47 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A090206.58194AAF.005C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.1 cv=cKFAygqN c=1 sm=1 tr=0 a=i7nT0dqFxmwB8XGI+JTv/g==:117 a=i7nT0dqFxmwB8XGI+JTv/g==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=9_1hYV8uAAAA:8 a=tjymCawVsXu29YgLv5MA:9 a=FKwbt-OhbrkoYuZlCyy7:22 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (CRAM-MD5) smtp.auth=eric.a.nelson@cox.net From: Eric Nelson To: u-boot@lists.denx.de Date: Tue, 1 Nov 2016 19:06:32 -0700 Message-Id: <1478052394-21499-2-git-send-email-eric@nelint.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478052394-21499-1-git-send-email-eric@nelint.com> References: <1478031230-7263-1-git-send-email-eric@nelint.com> <1478052394-21499-1-git-send-email-eric@nelint.com> Cc: marex@denx.de, trini@konsulko.com, otavio.salvador@ossystems.com.br, vincent.stehle@laposte.net, albert.aribaud@3adev.fr, picmaster@mail.bg, fabio.estevam@nxp.com Subject: [U-Boot] [RFC PATCH 1/3] ARM: mx6: preserve Boot ROM stack in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The i.MX6 Boot ROM starts its' stack at 0x091ffb4 and appears to be a little less than 256 bytes deep when starting U-Boot. This was determined experimentally on i.MX6DL and i.MX6SL. Allow this stack to be preserved to simplify returning to ROM when SPL is loaded as a plugin. Signed-off-by: Eric Nelson --- include/configs/imx6_spl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h index 76d1ca0..fb1b237 100644 --- a/include/configs/imx6_spl.h +++ b/include/configs/imx6_spl.h @@ -28,7 +28,7 @@ #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds" #define CONFIG_SPL_TEXT_BASE 0x00908000 #define CONFIG_SPL_MAX_SIZE 0x10000 -#define CONFIG_SPL_STACK 0x0091FFB8 +#define CONFIG_SPL_STACK 0x0091FEB8 /* NAND support */ #if defined(CONFIG_SPL_NAND_SUPPORT)