From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 10 Feb 2014 17:10:31 -0500 Subject: [U-Boot] [PATCH] driver/mxc_i2c: Move static data structure to global_data In-Reply-To: <1392069772-24742-1-git-send-email-yorksun@freescale.com> References: <1392069772-24742-1-git-send-email-yorksun@freescale.com> Message-ID: <20140210221031.GD7049@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 Mon, Feb 10, 2014 at 02:02:52PM -0800, York Sun wrote: > This driver needs a data structure in SRAM before SDRAM is available. > This is not alway the case using .data section. Moving this data > structure to global_data guarantees it is writable. > > Signed-off-by: York Sun > CC: Troy Kisky If you need something in SRAM then you need to place it in that section, see arch/arm/cpu/armv7/am33xx/u-boot-spl.lds for example -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: