From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 11 Nov 2014 09:28:06 +0100 Subject: [U-Boot] [PATCH v3 4/8] imx6: add some flexibility for defining macros In-Reply-To: References: <1415482079-9531-1-git-send-email-john.tobias.ph@gmail.com> <1415482079-9531-5-git-send-email-john.tobias.ph@gmail.com> <545FDB9A.6040005@denx.de> Message-ID: <5461C896.2040703@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi John, On 10/11/2014 00:53, John Tobias wrote: >>> @@ -29,7 +29,9 @@ >>> #define CONFIG_SPL_TEXT_BASE 0x00908000 >>> #define CONFIG_SPL_MAX_SIZE 0x10000 >>> #define CONFIG_SPL_START_S_PATH "arch/arm/cpu/armv7" >>> +#ifndef CONFIG_SPL_STACK >>> #define CONFIG_SPL_STACK 0x0091FFB8 >>> +#endif >> >> Why is this required ? > > Other iMX6 chip has different STACK address and the current defined > address does not > compatibile for the iMX6 SabreSD. This is exactly what I have not understood. Why is this board so special to require a different value ? SPL will run into the IRAM, whose size and layout is the same for i.MX6Q. Is there a reserved area in the IRAM only for sabreSD and if yes, for which reason ? Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================