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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user