• Carl-Daniel Hailfinger's avatar
    Various IT85* cleanups and fixes · 7f517a71
    Carl-Daniel Hailfinger authored
    
    
    Fix a few typos.
    Change the EC memory region mapping name.
    Drop unused function parameter.
    Use mmio_writeb()/mmio_readb() to get reliable access to volatile memory
    locations instead of plain pointer access which is optimized away by gcc.
    Use own it85_* SPI high-level chip read/write functions instead of
    relying on unrelated ICH functions.
    
    Corresponding to flashrom svn r1279.
    Signed-off-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
    
    David writes:
    I applied the patch against the Chromium OS branch and
    successfully tested read and write operations on a Cr48.
    Acked-by: default avatarDavid Hendricks <dhendrix@google.com>
    7f517a71
programmer.h 19.7 KB