diff options
| author | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
|---|---|---|
| committer | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
| commit | b90c045f035c3cc9b5d2edaed6048dfb74e40763 (patch) | |
| tree | ee69b8872cf8c295a48244280c82d98e191111ab /cpu/microblaze/timer.c | |
| parent | 6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (diff) | |
| download | olio-uboot-2014.01-b90c045f035c3cc9b5d2edaed6048dfb74e40763.tar.xz olio-uboot-2014.01-b90c045f035c3cc9b5d2edaed6048dfb74e40763.zip | |
synchronizition with mainline
Diffstat (limited to 'cpu/microblaze/timer.c')
| -rw-r--r-- | cpu/microblaze/timer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cpu/microblaze/timer.c b/cpu/microblaze/timer.c index b35045344..ab1cb1274 100644 --- a/cpu/microblaze/timer.c +++ b/cpu/microblaze/timer.c @@ -33,17 +33,10 @@ void reset_timer (void) timestamp = 0; } -#ifdef CFG_TIMER_0 ulong get_timer (ulong base) { return (timestamp - base); } -#else -ulong get_timer (ulong base) -{ - return (timestamp++ - base); -} -#endif void set_timer (ulong t) { |