diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-14 17:19:07 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-14 17:19:07 +0400 |
commit | d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch) | |
tree | f751c45fa698dd14edd985b80ae16ad521768457 /common/cmd_fpga.c | |
parent | d7854223c5c85b5849fbf422cc8ac0efef461c37 (diff) | |
download | u-boot-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.xz |
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_fpga.c')
-rw-r--r-- | common/cmd_fpga.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_fpga.c b/common/cmd_fpga.c index 9141dcce92..dcbbc993dd 100644 --- a/common/cmd_fpga.c +++ b/common/cmd_fpga.c @@ -85,7 +85,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size) length = (*dataptr << 8) + *(dataptr+1); dataptr+=2; for(i=0;i<length;i++) - buffer[i]=*dataptr++; + buffer[i] = *dataptr++; printf(" design filename = \"%s\"\n", buffer); @@ -99,7 +99,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size) length = (*dataptr << 8) + *(dataptr+1); dataptr+=2; for(i=0;i<length;i++) - buffer[i]=*dataptr++; + buffer[i] = *dataptr++; printf(" part number = \"%s\"\n", buffer); /* get date (identifier, length, string) */ @@ -112,7 +112,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size) length = (*dataptr << 8) + *(dataptr+1); dataptr+=2; for(i=0;i<length;i++) - buffer[i]=*dataptr++; + buffer[i] = *dataptr++; printf(" date = \"%s\"\n", buffer); /* get time (identifier, length, string) */ @@ -124,7 +124,7 @@ int fpga_loadbitstream(unsigned long dev, char* fpgadata, size_t size) length = (*dataptr << 8) + *(dataptr+1); dataptr+=2; for(i=0;i<length;i++) - buffer[i]=*dataptr++; + buffer[i] = *dataptr++; printf(" time = \"%s\"\n", buffer); /* get fpga data length (identifier, length) */ |