projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PCI-Express on PPC440SPe rev. A.
[oweals/u-boot.git]
/
cpu
/
mpc8220
/
cpu.c
diff --git
a/cpu/mpc8220/cpu.c
b/cpu/mpc8220/cpu.c
index 0cfe8089b8a8abb101cce2875f396a369a6f2183..be274cde9e0dc31200bb19dad9fbf755fda2a3cb 100644
(file)
--- a/
cpu/mpc8220/cpu.c
+++ b/
cpu/mpc8220/cpu.c
@@
-31,10
+31,10
@@
#include <mpc8220.h>
#include <asm/processor.h>
#include <mpc8220.h>
#include <asm/processor.h>
+DECLARE_GLOBAL_DATA_PTR;
+
int checkcpu (void)
{
int checkcpu (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
ulong clock = gd->cpu_clk;
char buf[32];
ulong clock = gd->cpu_clk;
char buf[32];
@@
-81,8
+81,6
@@
int do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
*/
unsigned long get_tbclk (void)
{
*/
unsigned long get_tbclk (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
ulong tbclk;
tbclk = (gd->bus_clk + 3L) / 4L;
ulong tbclk;
tbclk = (gd->bus_clk + 3L) / 4L;