From: Tom Rini Date: Thu, 18 Jul 2019 20:00:47 -0400 Subject: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation In-Reply-To: <20190604225555.12186-6-dannenberg@ti.com> References: <20190604225555.12186-1-dannenberg@ti.com> <20190604225555.12186-6-dannenberg@ti.com> Message-ID: <20190719000047.GA20116@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 04, 2019 at 05:55:48PM -0500, Andreas Dannenberg wrote: > In order to be able to use more advanced driver functionality which often > relies on having BSS initialized during early boot prior to relocation > several things need to be in place: > > 1) Memory needs to be available for BSS to use. For this, we locate BSS > at the top of the MCU SRAM area, with the stack starting right below > it, > 2) We need to move the initialization of BSS prior to entering > board_init_f(). We will do this with a separate commit by turning on > the respective CONFIG option. > > In this commit we also clean up the assignment of the initial SP address > as part of the refactoring, taking into account the pre-decrement post- > increment nature in which the SP is used on ARM. > > Signed-off-by: Andreas Dannenberg Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: