diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-07-25 04:37:41 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-07-25 04:37:41 +0000 |
commit | 24d0f7dbb597046482e06a8288c2c821c4b2f355 (patch) | |
tree | 94794548466b385e275839754ccd32926792c05d /mx29f002.c | |
parent | 9a445d32061c024099dcdc30a6460a8fe6d8abc6 (diff) | |
download | flashrom-24d0f7dbb597046482e06a8288c2c821c4b2f355.zip flashrom-24d0f7dbb597046482e06a8288c2c821c4b2f355.tar.gz |
SONE's changes
Corresponding to coreboot v1 svn r863.
Diffstat (limited to 'mx29f002.c')
-rw-r--r-- | mx29f002.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -97,7 +97,8 @@ int write_29f002 (struct flashchip * flash, char * buf) printf ("Programming Page: "); for (i = 0; i < total_size; i++) { /* write to the sector */ - printf ("address: 0x%08lx", i); + if ((i & 0xfff) == 0) + printf ("address: 0x%08lx", i); *(bios + 0x5555) = 0xAA; *(bios + 0x2AAA) = 0x55; *(bios + 0x5555) = 0xA0; @@ -106,7 +107,8 @@ int write_29f002 (struct flashchip * flash, char * buf) /* wait for Toggle bit ready */ toggle_ready_jedec(dst); - printf ("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); + if ((i & 0xfff) == 0) + printf ("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); } #endif printf("\n"); |