diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-07-29 12:23:49 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-30 01:25:31 +0200 |
commit | 09d318a8bb1444ec92e31cafcdba877eb9409e58 (patch) | |
tree | f7d859fa1667ec910953d96055522c4b8e1681f9 /lib_nios/bootm.c | |
parent | 1ca9950b46c0aded14c80f728f6238625d723a19 (diff) | |
download | u-boot-imx-09d318a8bb1444ec92e31cafcdba877eb9409e58.zip u-boot-imx-09d318a8bb1444ec92e31cafcdba877eb9409e58.tar.gz u-boot-imx-09d318a8bb1444ec92e31cafcdba877eb9409e58.tar.bz2 |
fsl_i2c: Use timebase timer functions instead of get_timer()
The current implementation of get_timer() is only really useful after we
have relocated u-boot to memory. The i2c code is used before that as part
of the SPD DDR setup.
We actually have a bug when using the get_timer() code before relocation
because the .bss hasn't been setup and thus we could be reading/writing
a random location (probably in flash).
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'lib_nios/bootm.c')
0 files changed, 0 insertions, 0 deletions