1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

update README, some code cleanup

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
Xiangfu Liu
2009-08-27 21:48:03 +08:00
parent f8f75cc9f7
commit c5621d6af8
4 changed files with 28 additions and 16 deletions

View File

@@ -450,6 +450,9 @@ int nand_program_file(struct nand_in *nand_in,
transfer_size = (hand.nand_ppb * hand.nand_ps);
else
transfer_size = (hand.nand_ppb * (hand.nand_ps + hand.nand_os));
printf("nand_ppb: %d, nand_ps: %d, nand_os: %d\n", hand.nand_ppb,
hand.nand_ps, hand.nand_os);
m = flen / transfer_size;
j = flen % transfer_size;
printf(" Size to send %d, transfer_size %d\n", flen, transfer_size);