From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 10 Jan 2012 10:57:53 +0100 Subject: [U-Boot] [PATCH v3 4/7] drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM In-Reply-To: <1325726785-16026-5-git-send-email-schnitzeltony@gmx.de> References: <1325726785-16026-1-git-send-email-schnitzeltony@gmx.de> <1325726785-16026-5-git-send-email-schnitzeltony@gmx.de> Message-ID: <4F0C0BA1.3090704@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > drivers/i2c/omap24xx_i2c.c | 13 +++++++++---- > 1 files changed, 9 insertions(+), 4 deletions(-) Acked-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany