Home
last modified time | relevance | path

Searched hist:d6b7757e41d22e08f21f58d3fe9183a150582f61 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Dmvtwsi.cd6b7757e41d22e08f21f58d3fe9183a150582f61 Fri May 13 03:19:31 UTC 2016 Chris Packham <judge.packham@gmail.com> i2c: mvtwsi: Eliminate twsi_control_flags

In a system where the initial u-boot location is genuinely NOR flash (as
opposed to RAM or a cache-line setup by a pre-bootloader) writes to the
data section are problematic. At best these writes have no effect, at
worst they put the flash memory into a status mode which changes the
executable code underneath us.

Pass around a stack variable from the top of the twsi i2c driver to
avoid writing to global data.

Signed-off-by: Chris Packham <judge.packham@gmail.com>