summaryrefslogtreecommitdiff
path: root/common/cmd_fpga.c
diff options
context:
space:
mode:
author <m8@hekate.semihalf.com>2005-08-12 15:33:33 +0200
committer <m8@hekate.semihalf.com>2005-08-12 15:33:33 +0200
commit6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7 (patch)
treebac8690410f0c5dba55f940d0bb403029459cdae /common/cmd_fpga.c
parent5a27f84855f3db8a6317389c034f8f507444185f (diff)
parentdafba16e6fc1837381c8e74c4891ad6965cf54ab (diff)
downloadu-boot-imx-6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7.zip
u-boot-imx-6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7.tar.gz
u-boot-imx-6df6d38d2d59ba2964e9ee33aa559707a6c1c4b7.tar.bz2
Merge with pollux.denx.org:/home/git/u-boot/.git
Diffstat (limited to 'common/cmd_fpga.c')
-rw-r--r--common/cmd_fpga.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c
index 0c0643c..c4b7392 100644
--- a/common/cmd_fpga.c
+++ b/common/cmd_fpga.c
@@ -137,9 +137,9 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size)
__FUNCTION__);
return FPGA_FAIL;
}
- swapsize = ((unsigned int) *dataptr <<24) +
- ((unsigned int) *(dataptr+1) <<16) +
- ((unsigned int) *(dataptr+2) <<8 ) +
+ swapsize = ((unsigned int) *dataptr <<24) +
+ ((unsigned int) *(dataptr+1) <<16) +
+ ((unsigned int) *(dataptr+2) <<8 ) +
((unsigned int) *(dataptr+3) ) ;
dataptr+=4;
printf(" bytes in bitstream = %d\n", swapsize);
@@ -217,7 +217,7 @@ int do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
PRINTF ("%s: device = %d\n", __FUNCTION__, dev);
/* FIXME - this is a really weak test */
if ((argc == 3) && (dev > fpga_count ())) { /* must be buffer ptr */
- PRINTF ("%s: Assuming buffer pointer in arg 3\n",
+ PRINTF ("%s: Assuming buffer pointer in arg 3\n",
__FUNCTION__);
fpga_data = (void *) dev;
PRINTF ("%s: fpga_data = 0x%x\n",