summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2019-12-25 17:57:06 +0200
committerHeiko Schocher <hs@denx.de>2020-01-27 07:17:53 +0100
commit36608b2a843eedc8c44e56cdf2ed5d62ef5e104c (patch)
tree7b974078da9beb7047e1cdce6eae2621b867862c
parentc05b38df477a50c3918b50c5f986592411785859 (diff)
global_data: remove unused mxc_i2c specific field
The srdata field is unused since commit 71204e95ce13228 ("i2c: mxc: refactor i2c driver and support dm"). Cc: Peng Fan <peng.fan@nxp.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--include/asm-generic/global_data.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 7587ba2ee5..5d027329fe 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -90,9 +90,6 @@ typedef struct global_data {
#if defined(CONFIG_SYS_I2C)
int cur_i2c_bus; /* current used i2c bus */
#endif
-#ifdef CONFIG_SYS_I2C_MXC
- void *srdata[10];
-#endif
unsigned int timebase_h;
unsigned int timebase_l;
#if CONFIG_VAL(SYS_MALLOC_F_LEN)