mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-23 13:30:48 +02:00
change some output info
This commit is contained in:
parent
bb5f4be354
commit
4c57b734eb
@ -120,14 +120,15 @@ int check_dump_cfg(struct hand *hand)
|
||||
total_size / 0x100000, 2 * (hand->fw_args.bank_num + 1),
|
||||
16 * (2 - hand->fw_args.bus_width));
|
||||
|
||||
/* printf("\n Nand page size %d, ECC offset %d, ",
|
||||
hand->nand_ps,hand->nand_eccpos);
|
||||
printf("\n Nand page size %d, "
|
||||
"ECC offset %d, "
|
||||
"bad block ID %d, "
|
||||
"use %d plane mode\n",
|
||||
hand->nand_ps,
|
||||
hand->nand_eccpos,
|
||||
hand->nand_bbpage,
|
||||
hand->nand_plane);
|
||||
|
||||
printf("bad block ID %d, ",hand->nand_bbpage);
|
||||
|
||||
printf("use %d plane mode",hand->nand_plane); */
|
||||
|
||||
printf("\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -54,8 +54,9 @@ static struct option opts[] = {
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
printf("inflash - (C) 2009\n"
|
||||
"This program is Free Software and has ABSOLUTELY NO WARRANTY\n\n");
|
||||
printf(" inflash - (C) 2009"
|
||||
"\n Ingenic Tools Software!"
|
||||
"\n This program is Free Software and has ABSOLUTELY NO WARRANTY\n");
|
||||
|
||||
int command = 0;
|
||||
char *cptr;
|
||||
@ -86,9 +87,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
printf("\n Welcome!"
|
||||
"\n Ingenic Tools Software!");
|
||||
|
||||
if ((getuid()) || (getgid())) {
|
||||
fprintf(stderr, "Error - you must be root to run '%s'\n", argv[0]);
|
||||
return EXIT_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user