commit | 4c710383e955088149a4affc2c9f1ea22b8d8d41 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Tue Jul 29 12:23:49 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jul 30 01:25:31 2008 +0200 |
tree | f7d859fa1667ec910953d96055522c4b8e1681f9 | |
parent | 640b25a891cf36581defde6fc0c065139f53539c [diff] |
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>