Skip to content
Snippets Groups Projects
Commit 0b620ec9 authored by Andreas Müller's avatar Andreas Müller Committed by Albert ARIBAUD
Browse files

drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM


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: default avatarAndreas Müller <schnitzeltony@gmx.de>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 0f8d3eb9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment