summaryrefslogtreecommitdiff
path: root/board/esd/pmc440/cmd_pmc440.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/pmc440/cmd_pmc440.c')
-rw-r--r--board/esd/pmc440/cmd_pmc440.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/pmc440/cmd_pmc440.c b/board/esd/pmc440/cmd_pmc440.c
index 7808d4d..0fbc3dc 100644
--- a/board/esd/pmc440/cmd_pmc440.c
+++ b/board/esd/pmc440/cmd_pmc440.c
@@ -242,7 +242,7 @@ int do_fifo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
"address %08x\n",
n, data, f);
for (i=0; i<n; i++)
- out32(f, data);
+ out_be32((void *)f, data);
}
} else {
printf("Usage:\nfifo %s\n", cmdtp->help);