driver/mxc_i2c: Move static data structure to global_data
authorYork Sun <yorksun@freescale.com>
Mon, 10 Feb 2014 22:02:52 +0000 (14:02 -0800)
committerHeiko Schocher <hs@denx.de>
Tue, 29 Apr 2014 05:10:27 +0000 (07:10 +0200)
commitdec1861be90c948ea9fb771927d3d26a994d2e20
tree11faa5e4eaa0a614155e79653e688df3fd57796c
parent8854070784450f7ade382c5792b2721fbe27315a
driver/mxc_i2c: Move static data structure to global_data

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@freescale.com>
CC: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/i2c/mxc_i2c.c
include/asm-generic/global_data.h