diff options
author | Zachary P. Landau <zachary.landau@labxtechnologies.com> | 2006-01-26 17:35:56 -0500 |
---|---|---|
committer | Zachary P. Landau <zachary.landau@labxtechnologies.com> | 2006-01-26 17:35:56 -0500 |
commit | eacbd317757327e8e7f018f5701c950429c4c6ae (patch) | |
tree | f5a0b6fffe7391bd7c2cf3165b0b1c7171a5df84 /lib_m68k/time.c | |
parent | c4b465f63e3b6fc998526dc217ff988e5c91e667 (diff) | |
download | u-boot-eacbd317757327e8e7f018f5701c950429c4c6ae.zip u-boot-eacbd317757327e8e7f018f5701c950429c4c6ae.tar.gz u-boot-eacbd317757327e8e7f018f5701c950429c4c6ae.tar.bz2 |
Add support for Freescale M5271 processor
Diffstat (limited to 'lib_m68k/time.c')
-rw-r--r-- | lib_m68k/time.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib_m68k/time.c b/lib_m68k/time.c index 1d6d297..d45e470 100644 --- a/lib_m68k/time.c +++ b/lib_m68k/time.c @@ -27,6 +27,11 @@ #include <asm/mcftimer.h> +#ifdef CONFIG_M5271 +#include <asm/m5271.h> +#include <asm/immap_5271.h> +#endif + #ifdef CONFIG_M5272 #include <asm/m5272.h> #include <asm/immap_5272.h> @@ -43,7 +48,7 @@ static ulong timestamp; -#ifdef CONFIG_M5282 +#if defined(CONFIG_M5282) || defined(CONFIG_M5271) static unsigned short lastinc; #endif @@ -127,7 +132,7 @@ void set_timer (ulong t) } #endif -#if defined(CONFIG_M5282) +#if defined(CONFIG_M5282) || defined(CONFIG_M5271) void udelay(unsigned long usec) { |