Changeset 985 for trunk/serprog.c


Ignore:
Timestamp:
03/26/10 00:18:41 (2 years ago)
Author:
uwe
Message:

Polish the flashrom code comments and outputs a bit.

  • Fix a number of typos (found via ispell).
  • Use correct vendor names (as per their websites) consistently.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/serprog.c

    r853 r985  
    6767static uint8_t sp_cmdmap[32]; 
    6868 
    69 /* sp_prev_was_write used to detect writes with continouous addresses 
     69/* sp_prev_was_write used to detect writes with contiguous addresses 
    7070        and combine them to write-n's */ 
    7171static int sp_prev_was_write = 0; 
     
    139139} 
    140140 
    141 /* Synchronize: a bit tricky algorhytm that tries to (and in my tests has * 
     141/* Synchronize: a bit tricky algorithm that tries to (and in my tests has * 
    142142 * always succeeded in) bring the serial protocol to known waiting-for-   * 
    143143 * command state - uses nonblocking read - rest of the driver uses        * 
     
    535535                sp_execute_opbuf(); 
    536536                /* If this happens in the mid of an page load the page load * 
    537                  * will propably fail.                                      */ 
     537                 * will probably fail.                                      */ 
    538538                msg_pdbg(MSGHEADER "Warning: executed operation buffer due to size reasons\n"); 
    539539        } 
     
    590590} 
    591591 
    592 /* Local version that really does the job, doesnt care of max_read_n. */ 
     592/* Local version that really does the job, doesn't care of max_read_n. */ 
    593593static void sp_do_read_n(uint8_t * buf, const chipaddr addr, size_t len) 
    594594{ 
Note: See TracChangeset for help on using the changeset viewer.