[U-Boot] [PATCH v3 4/7] drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM
Heiko Schocher
hs at denx.de
Tue Jan 10 10:57:53 CET 2012
Hello Andreas,
Andreas Müller wrote:
> At old overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately
> this pin is also used for revision detection. Therefore we need to send
> shut-up to TWL4030 to avoid reading wrong revision. In SPL this must
> be done before SDRAM is set up because the type of SDRAM is revision dependent.
> By this patch it is ensured that all variables used by omap24xx_i2c.c are
> located in SRAM.
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmx.de>
> ---
> drivers/i2c/omap24xx_i2c.c | 13 +++++++++----
> 1 files changed, 9 insertions(+), 4 deletions(-)
Acked-by: Heiko Schocher <hs at denx.de>
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list