diff options
author | Timur Tabi <timur@freescale.com> | 2008-07-21 14:26:23 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-30 00:10:13 +0200 |
commit | e4dafff86f289b5677143a3e41da7b45c6d27fc7 (patch) | |
tree | 1a2d1c412f50be0566768a7d5ec745cbe4d1302f /lib_microblaze | |
parent | 1953d128fd07f07d1c3810a28c0863ea64dae1b6 (diff) | |
download | u-boot-imx-e4dafff86f289b5677143a3e41da7b45c6d27fc7.zip u-boot-imx-e4dafff86f289b5677143a3e41da7b45c6d27fc7.tar.gz u-boot-imx-e4dafff86f289b5677143a3e41da7b45c6d27fc7.tar.bz2 |
fsl-i2c: fix writes to data segment before relocation
Prevent i2c_init() in fsl_i2c.c from writing to the data segment before
relocation. Commit d8c82db4 added the ability for i2c_init() to program the
I2C bus speed and save the value in i2c_bus_speed[], which is a global
variable. It is an error to write to the data segment before relocation,
which is what i2c_init() does when it stores the bus speed in i2c_bus_speed[].
Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'lib_microblaze')
0 files changed, 0 insertions, 0 deletions