summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx/speed.c
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2007-09-18 11:12:58 +0100
committerPeter Pearse <peter.pearse@arm.com>2007-09-18 11:12:58 +0100
commitafd477b227c089f2b7ce0aadb20b9ea7dc6ee6f8 (patch)
tree4b0d37a727b3ede6540825258cc930533c0cdce7 /cpu/mpc86xx/speed.c
parentd94c79e47011af5e8dd10ed6163c09b4cfc743cc (diff)
parent67c31036acaaaa992fc346cc89db0909a7e733c4 (diff)
downloadu-boot-imx-afd477b227c089f2b7ce0aadb20b9ea7dc6ee6f8.zip
u-boot-imx-afd477b227c089f2b7ce0aadb20b9ea7dc6ee6f8.tar.gz
u-boot-imx-afd477b227c089f2b7ce0aadb20b9ea7dc6ee6f8.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'cpu/mpc86xx/speed.c')
-rw-r--r--cpu/mpc86xx/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc86xx/speed.c b/cpu/mpc86xx/speed.c
index 312ca12..23161ca 100644
--- a/cpu/mpc86xx/speed.c
+++ b/cpu/mpc86xx/speed.c
@@ -29,6 +29,7 @@
#include <mpc86xx.h>
#include <asm/processor.h>
+DECLARE_GLOBAL_DATA_PTR;
void get_sys_info(sys_info_t *sysInfo)
{
@@ -96,7 +97,6 @@ void get_sys_info(sys_info_t *sysInfo)
int get_clocks(void)
{
- DECLARE_GLOBAL_DATA_PTR;
sys_info_t sys_info;
get_sys_info(&sys_info);