summaryrefslogtreecommitdiff
path: root/board/tqc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-14 15:19:07 +0200
committerWolfgang Denk <wd@denx.de>2008-07-14 15:19:07 +0200
commitd0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90 (patch)
treef751c45fa698dd14edd985b80ae16ad521768457 /board/tqc
parentd7854223c5c85b5849fbf422cc8ac0efef461c37 (diff)
downloadu-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.zip
u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.gz
u-boot-imx-d0ff51ba5d0309dbe9e25ea54f8a0285a6d5db90.tar.bz2
Code cleanup: fix old style assignment ambiguities like "=-" etc.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm5200/cmd_stk52xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/tqc/tqm5200/cmd_stk52xx.c b/board/tqc/tqm5200/cmd_stk52xx.c
index 58039d4..fd1e68b 100644
--- a/board/tqc/tqm5200/cmd_stk52xx.c
+++ b/board/tqc/tqm5200/cmd_stk52xx.c
@@ -192,10 +192,10 @@ static int i2s_play_wave(unsigned long addr, unsigned long len)
psc->command = (PSC_RX_ENABLE | PSC_TX_ENABLE);
for(i = 0;i < (len / 4); i++) {
- swapped[3]=*wave_file++;
- swapped[2]=*wave_file++;
- swapped[1]=*wave_file++;
- swapped[0]=*wave_file++;
+ swapped[3] = *wave_file++;
+ swapped[2] = *wave_file++;
+ swapped[1] = *wave_file++;
+ swapped[0] = *wave_file++;
psc->psc_buffer_32 = *((unsigned long*)swapped);
while (psc->tfnum > 400) {
if(ctrlc())