From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 10 Dec 2014 09:06:02 -0500 Subject: [U-Boot] Use .data section in SPL ? In-Reply-To: <20141210163938.02D8.AA925319@jp.panasonic.com> References: <20141210163938.02D8.AA925319@jp.panasonic.com> Message-ID: <20141210140602.GQ20704@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 Wed, Dec 10, 2014 at 04:39:39PM +0900, Masahiro Yamada wrote: > Hi. > > > I notice SPL is using .data section > > > > u32 *boot_params_ptr = NULL; > struct spl_image_info spl_image; > > /* Define board data structure */ > static bd_t bdata __attribute__ ((section(".data"))); > > > > If SPL is running on an execute-in-place device such NOR flash, > .data section is not writable. > > common/spl/spl_nor.c does not work. spl_nor.c only works today on PowerPC where there's nothing shoved into the .data section. And all of this is related to what's needed to enable DM in SPL on ARM as well, iirc anyhow. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: