projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
85xx: add ability to upload QE firmware
[oweals/u-boot.git]
/
cpu
/
mpc5xx
/
speed.c
diff --git
a/cpu/mpc5xx/speed.c
b/cpu/mpc5xx/speed.c
index f6097f5c1347265dfa0373b21b6f8e46b4a731a9..6a1fa155e298ab24db7322eb605007e54d35213a 100644
(file)
--- a/
cpu/mpc5xx/speed.c
+++ b/
cpu/mpc5xx/speed.c
@@
-31,12
+31,13
@@
#include <mpc5xx.h>
#include <asm/processor.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/*
* Get cpu and bus clock
*/
int get_clocks (void)
{
- DECLARE_GLOBAL_DATA_PTR;
volatile immap_t *immr = (immap_t *) CFG_IMMR;
#ifndef CONFIG_5xx_GCLK_FREQ