summaryrefslogtreecommitdiff
path: root/board/evb64260/mpsc.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-29 23:03:47 +0200
committerWolfgang Denk <wd@denx.de>2010-06-29 23:03:47 +0200
commita8e2b04417b802a9baf86de9c2e06375135e666f (patch)
tree32b86ea6c84ae6a26294459c61977bca191c5b93 /board/evb64260/mpsc.c
parent1f9d10f694f6f901a826a5b42fbfe914e2117971 (diff)
parent161e4ae46046282fde6a69a0f1f80965f2a1b6f4 (diff)
downloadu-boot-imx-a8e2b04417b802a9baf86de9c2e06375135e666f.zip
u-boot-imx-a8e2b04417b802a9baf86de9c2e06375135e666f.tar.gz
u-boot-imx-a8e2b04417b802a9baf86de9c2e06375135e666f.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/work
Diffstat (limited to 'board/evb64260/mpsc.c')
-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 8c4a4c8..3164967 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))
+#define MIRROR_HACK ((struct _tag_mirror_hack *)&(gd->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)