summaryrefslogtreecommitdiff
path: root/board/freescale/b4860qds
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:48:48 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:04:57 -0500
commit67ac13b1b9b6ca00893714fbc8cbf556bab6fd59 (patch)
tree465b1934f005865689bffc75469160894bf1c361 /board/freescale/b4860qds
parentc6731fe22ab1cc2f5c2b8be9b1db276d777f12c3 (diff)
downloadu-boot-imx-67ac13b1b9b6ca00893714fbc8cbf556bab6fd59.zip
u-boot-imx-67ac13b1b9b6ca00893714fbc8cbf556bab6fd59.tar.gz
u-boot-imx-67ac13b1b9b6ca00893714fbc8cbf556bab6fd59.tar.bz2
ppc: Move lbc_clk and cpu to arch_global_data
Move these fields into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Update for bsc9132qds.c, b4860qds.c] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/freescale/b4860qds')
-rw-r--r--board/freescale/b4860qds/b4860qds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/b4860qds/b4860qds.c b/board/freescale/b4860qds/b4860qds.c
index 3c470db..41887c2 100644
--- a/board/freescale/b4860qds/b4860qds.c
+++ b/board/freescale/b4860qds/b4860qds.c
@@ -50,7 +50,7 @@ int checkboard(void)
{
char buf[64];
u8 sw;
- struct cpu_type *cpu = gd->cpu;
+ struct cpu_type *cpu = gd->arch.cpu;
ccsr_gur_t *gur = (void *)CONFIG_SYS_MPC85xx_GUTS_ADDR;
unsigned int i;
static const char *const freq[] = {"100", "125", "156.25", "161.13",