Changeset 3682

Show
Ignore:
Timestamp:
10/22/08 00:09:02 (3 months ago)
Author:
uwe
Message:

Reduce serial output, otherwise flashing will fail very often (trivial).

This has been tested on hardware by me.

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/flashrom/sst49lf040.c

    r2873 r3682  
    5353 
    5454                /* write to the sector */ 
    55                 printf("%04d at address: 0x%08x ", i, i * page_size); 
     55                if (i % 10 == 0) 
     56                        printf("%04d at address: 0x%08x ", i, i * page_size); 
    5657 
    5758                write_sector_jedec(bios, buf + i * page_size, 
    5859                                   bios + i * page_size, page_size); 
    5960 
    60                 printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); 
     61                if (i % 10 == 0) 
     62                        printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); 
    6163                fflush(stdout); 
    6264        }