diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-04-27 19:12:19 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-04-27 19:12:19 +0200 |
commit | 7a635e004ec12bd2a0bae9f90fbb5769b524a42e (patch) | |
tree | 9c0b3d146c12454e95395411094d420bc5b4a3d3 /lib_m68k | |
parent | 76544f80e476a7a0cc3a0bbce853354f2c6a61e2 (diff) | |
parent | f8c3b4f310a36e19d00d0f87fb37587abb65621d (diff) | |
download | u-boot-imx-7a635e004ec12bd2a0bae9f90fbb5769b524a42e.zip u-boot-imx-7a635e004ec12bd2a0bae9f90fbb5769b524a42e.tar.gz u-boot-imx-7a635e004ec12bd2a0bae9f90fbb5769b524a42e.tar.bz2 |
Add support for Freescale M5271: Merge with /work/u-boot.mcf5271
Diffstat (limited to 'lib_m68k')
-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) { |