Chris Packham d6b7757e41 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>
2016-05-17 08:32:02 +02:00
..
2016-05-17 08:28:55 +02:00
2014-12-08 07:27:22 +01:00
2015-11-12 15:59:02 -05:00
2016-05-02 18:37:09 -04:00
2015-03-18 09:13:17 +01:00
2015-11-12 18:04:12 -05:00