[U-Boot] [PATCH] driver/mxc_i2c: Move static data structure to global_data

Tom Rini trini at ti.com
Mon Feb 10 23:10:31 CET 2014


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 <yorksun at freescale.com>
> CC: Troy Kisky <troy.kisky at boundarydevices.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20140210/de928113/attachment.pgp>


More information about the U-Boot mailing list