]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib_m68k/time.c
Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added DECLARE_GLOBAL_DATA_PTR...
[people/ms/u-boot.git] / lib_m68k / time.c
index 267a3cdbc78253a1f6a290b77e97786af287e4a3..3dbce07213ef27db06ed98e937bedf4f37b4be22 100644 (file)
@@ -48,6 +48,8 @@
 #include <asm/immap_5249.h>
 #endif
 
+DECLARE_GLOBAL_DATA_PTR;
+
 static ulong timestamp;
 #if defined(CONFIG_M5282) || defined(CONFIG_M5271)
 static unsigned short lastinc;