From: Vikas MANOCHA Date: Mon, 12 Jun 2017 17:36:19 +0000 Subject: [U-Boot] [U-Boot,v2,3/7] stm32: stm32f7: add spl build support In-Reply-To: <20170610134608.GR10782@bill-the-cat> References: <1496001329-30038-4-git-send-email-vikas.manocha@st.com> <20170610134608.GR10782@bill-the-cat> Message-ID: <75e0e3ca04bb46b7b35d294a0b0e5bb6@SFHDAG7NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, > -----Original Message----- > From: Tom Rini [mailto:trini at konsulko.com] > Sent: Saturday, June 10, 2017 6:46 AM > To: Vikas MANOCHA > Cc: u-boot at lists.denx.de; Christophe KERELLO ; Alexandre TORGUE ; > Christophe PRIOUZEAU > Subject: Re: [U-Boot,v2,3/7] stm32: stm32f7: add spl build support > > On Sun, May 28, 2017 at 12:55:10PM -0700, Vikas Manocha wrote: > > > This commit supports booting from stm32 internal nor flash. spl U-Boot > > initializes the sdram memory, copies next image (e.g. standard U-Boot) > > to sdram & then jumps to entry point. > > > > Here are the flash memory addresses for U-Boot-spl & standard U-Boot: > > - spl U-Boot : 0x0800_0000 > > - standard U-Boot : 0x0800_8000 > > > > To compile u-boot without spl: Remove SUPPORT_SPL configuration > > (arch/arm/mach-stm32/Kconfig) > > > > Signed-off-by: Vikas Manocha > > I had to rework the Kconfig locations here slightly (and in follow-up > patches) to have the main select's be under STM32F7 in arch/arm/mach-stm32/Kconfig as it's not right to introduce a second 'config > SUPPORT_SPL\nselect ...' stanza inside of arch/arm/mach-stm32/stm32f7/Kconfig. Thanks for the kconfig rework, appreciate it. Cheers, Vikas > > Reviewed-by: Tom Rini > > -- > Tom