ppc: Move brg_clk to arch_global_data

Move this field into arch_global_data and tidy up.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2012-12-13 20:48:44 +00:00
committed by Tom Rini
parent 6cb49c13f6
commit 1206c18403
13 changed files with 26 additions and 21 deletions

View File

@@ -453,7 +453,7 @@ static void prbrg (int n, uint val)
#if defined(CONFIG_8xx)
ulong clock = gd->cpu_clk;
#elif defined(CONFIG_8260)
ulong clock = gd->brg_clk;
ulong clock = gd->arch.brg_clk;
#endif
printf ("BRG%d:", n);