diff options
author | Chris Packham <judge.packham@gmail.com> | 2016-05-13 03:19:31 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-05-17 06:32:02 (GMT) |
commit | d6b7757e41d22e08f21f58d3fe9183a150582f61 (patch) | |
tree | b476033fedb3cdd1be2b8facfa49b189ead172b3 /include/bus_vcxk.h | |
parent | 3a3705280d1d06e4d9a62fbe895dbe03939ad00e (diff) | |
download | u-boot-fsl-qoriq-d6b7757e41d22e08f21f58d3fe9183a150582f61.tar.xz |
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>
Diffstat (limited to 'include/bus_vcxk.h')
0 files changed, 0 insertions, 0 deletions