From: Tom Rini Date: Thu, 18 Jul 2019 20:00:29 -0400 Subject: [U-Boot] [PATCH v2 02/12] spl: Allow performing BSS init early before board_init_f() In-Reply-To: <20190604225555.12186-3-dannenberg@ti.com> References: <20190604225555.12186-1-dannenberg@ti.com> <20190604225555.12186-3-dannenberg@ti.com> Message-ID: <20190719000029.GX20116@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:45PM -0500, Andreas Dannenberg wrote: > On some platform we have sufficient memory available early on to allow > setting up and using a basic BSS prior to entering board_init_f(). Doing > so can for example be used to carry state over to board_init_r() without > having to resort to extending U-Boot's global data structure. > > To support such scenarios add a Kconfig option called CONFIG_SPL_EARLY_BSS > to allow moving the initialization of BSS prior to entering board_init_f(), > if enabled. Note that using this option usually should go along with using > CONFIG_SPL_SEPARATE_BSS and configuring BSS to be located in memory > actually available prior to board_init_f(). > > 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: