[U-Boot] [PATCH] Fix: nommu I2C adapter relocation error

Heiko Schocher hs at denx.de
Thu Oct 17 08:22:45 CEST 2013


Hello Jens,

Am 14.10.2013 10:27, schrieb Jens Scharsig (BuS Elektronik):
> From: "Jens Scharsig (BuS Elektronik)"<esw at bus-elektronik.de>
>
> NoMMU systems have a access violation problem with i2c_reloc_fixup.
> Blame for it is a double relocation of the adapter itself. The
> i2c_adap_p is already relocated, if i2c_reloc_fixup is called.
> This patch removes the relocation of i2c_adap_p from i2c_reloc_fixup
> to fix this.
>
> Signed-off-by: Jens Scharsig (BuS Elektronik)<esw at bus-elektronik.de>
> ---
>   drivers/i2c/i2c_core.c | 4 ----
>   1 file changed, 4 deletions(-)

Applied to u-boot-i2c.git

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