Skip to content

Commit

Permalink
fixed whitespace inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
amery committed Feb 15, 2012
1 parent 8af5ea1 commit e1462be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mksunxiboot.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ int gen_check_sum( void *boot_buf )
buf = (u32 *)boot_buf; buf = (u32 *)boot_buf;
head_p->check_sum = STAMP_VALUE; // fill stamp head_p->check_sum = STAMP_VALUE; // fill stamp
loop = length >> 2; loop = length >> 2;
/* calculate the sum */ /* calculate the sum */
for( i = 0, sum = 0; i < loop; i++ ) for( i = 0, sum = 0; i < loop; i++ )
sum += buf[i]; sum += buf[i];


/* write back check sum */ /* write back check sum */
head_p->check_sum = sum; head_p->check_sum = sum;


return 0; return 0;
} }


#define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1) #define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1)
Expand Down

0 comments on commit e1462be

Please sign in to comment.