summaryrefslogtreecommitdiff
path: root/board/evb64260
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:00 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:44 -0500
commit7e15d6dbf30d49e0c9cffdefa4e7e94ddf815d1d (patch)
tree327c61687f22be3ee626e98ab232803b03e50870 /board/evb64260
parent3a1dc8f1251e03c06d45120612a27ae2c448bae7 (diff)
ppc: Move mirror_hack to arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/evb64260')
-rw-r--r--board/evb64260/mpsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/evb64260/mpsc.c b/board/evb64260/mpsc.c
index f3dc20b294..9c211ac524 100644
--- a/board/evb64260/mpsc.c
+++ b/board/evb64260/mpsc.c
@@ -88,7 +88,7 @@ static void galsdma_enable_rx(void);
/* GT64240A errata: cant read MPSC/BRG registers... so make mirrors in ram for read/modify write */
-#define MIRROR_HACK ((struct _tag_mirror_hack *)&(gd->mirror_hack[0]))
+#define MIRROR_HACK ((struct _tag_mirror_hack *)&(gd->arch.mirror_hack[0]))
#define GT_REG_WRITE_MIRROR_G(a,d) {MIRROR_HACK->a ## _M = d; GT_REG_WRITE(a,d);}
#define GTREGREAD_MIRROR_G(a) (MIRROR_HACK->a ## _M)