]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix: nommu I2C adapter relocation error
authorJens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Mon, 14 Oct 2013 08:27:38 +0000 (10:27 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 17 Oct 2013 05:20:25 +0000 (07:20 +0200)
commit83d271b5ffc19e98098861dd21e940cf53545a43
tree13366d9f30a4298b7b6922d872689da748309665
parentb55b8eef35f9ca04cf790381bab14510278b08a4
Fix: nommu I2C adapter relocation error

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@bus-elektronik.de>
drivers/i2c/i2c_core.c