diff options
author | Chris Packham <judge.packham@gmail.com> | 2016-05-13 15:19:31 +1200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2016-05-17 08:32:02 +0200 |
commit | d6b7757e41d22e08f21f58d3fe9183a150582f61 (patch) | |
tree | b476033fedb3cdd1be2b8facfa49b189ead172b3 /common | |
parent | 3a3705280d1d06e4d9a62fbe895dbe03939ad00e (diff) | |
download | u-boot-imx-d6b7757e41d22e08f21f58d3fe9183a150582f61.zip u-boot-imx-d6b7757e41d22e08f21f58d3fe9183a150582f61.tar.gz u-boot-imx-d6b7757e41d22e08f21f58d3fe9183a150582f61.tar.bz2 |
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 'common')
0 files changed, 0 insertions, 0 deletions