* [PATCH] global_data: remove unused mxc_i2c specific field
@ 2019-12-25 15:57 Baruch Siach
2019-12-26 1:32 ` Peng Fan
2020-01-29 6:00 ` Heiko Schocher
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2019-12-25 15:57 UTC (permalink / raw)
To: u-boot
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>
---
include/asm-generic/global_data.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 7587ba2ee586..5d027329fe0f 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -89,9 +89,6 @@ typedef struct global_data {
#endif
#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;
--
2.24.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] global_data: remove unused mxc_i2c specific field
2019-12-25 15:57 [PATCH] global_data: remove unused mxc_i2c specific field Baruch Siach
@ 2019-12-26 1:32 ` Peng Fan
2020-01-29 6:00 ` Heiko Schocher
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2019-12-26 1:32 UTC (permalink / raw)
To: u-boot
> Subject: [PATCH] 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>
> ---
> include/asm-generic/global_data.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/include/asm-generic/global_data.h
> b/include/asm-generic/global_data.h
> index 7587ba2ee586..5d027329fe0f 100644
> --- a/include/asm-generic/global_data.h
> +++ b/include/asm-generic/global_data.h
> @@ -89,9 +89,6 @@ typedef struct global_data { #endif #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;
> --
> 2.24.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] global_data: remove unused mxc_i2c specific field
2019-12-25 15:57 [PATCH] global_data: remove unused mxc_i2c specific field Baruch Siach
2019-12-26 1:32 ` Peng Fan
@ 2020-01-29 6:00 ` Heiko Schocher
1 sibling, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2020-01-29 6:00 UTC (permalink / raw)
To: u-boot
Hello Baruch,
Am 25.12.2019 um 16:57 schrieb Baruch Siach:
> 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>
> ---
> include/asm-generic/global_data.h | 3 ---
> 1 file changed, 3 deletions(-)
Applied to u-boot-i2c master.
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-29 6:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-25 15:57 [PATCH] global_data: remove unused mxc_i2c specific field Baruch Siach
2019-12-26 1:32 ` Peng Fan
2020-01-29 6:00 ` Heiko Schocher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.