Changeset 908 for trunk/flashrom.c


Ignore:
Timestamp:
Feb 21, 2010 10:17:00 PM (3 years ago)
Author:
uwe
Message:

Add initial (non-working) code for Highpoint ATA/RAID controllers.

It's disabled by default. The current status is detailed at:
http://www.flashrom.org/pipermail/flashrom/2010-January/001828.html

Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashrom.c

    r907 r908  
    4545 * that the user wants that one to become the default. 
    4646 */ 
    47 #if NIC3COM_SUPPORT+GFXNVIDIA_SUPPORT+DRKAISER_SUPPORT+SATASII_SUPPORT+FT2232_SPI_SUPPORT+SERPROG_SUPPORT+BUSPIRATE_SPI_SUPPORT+DEDIPROG_SUPPORT > 1 
     47#if NIC3COM_SUPPORT+GFXNVIDIA_SUPPORT+DRKAISER_SUPPORT+SATASII_SUPPORT+ATAHPT_SUPPORT+FT2232_SPI_SUPPORT+SERPROG_SUPPORT+BUSPIRATE_SPI_SUPPORT+DEDIPROG_SUPPORT > 1 
    4848#error Please enable either CONFIG_DUMMY or CONFIG_INTERNAL or disable support for all external programmers except one. 
    4949#endif 
     
    6060#if SATASII_SUPPORT == 1 
    6161        PROGRAMMER_SATASII 
     62#endif 
     63#if ATAHPT_SUPPORT == 1 
     64        PROGRAMMER_ATAHPT 
    6265#endif 
    6366#if FT2232_SPI_SUPPORT == 1 
     
    204207                .chip_readn             = fallback_chip_readn, 
    205208                .chip_writeb            = satasii_chip_writeb, 
     209                .chip_writew            = fallback_chip_writew, 
     210                .chip_writel            = fallback_chip_writel, 
     211                .chip_writen            = fallback_chip_writen, 
     212                .delay                  = internal_delay, 
     213        }, 
     214#endif 
     215 
     216#if ATAHPT_SUPPORT == 1 
     217        { 
     218                .name                   = "atahpt", 
     219                .init                   = atahpt_init, 
     220                .shutdown               = atahpt_shutdown, 
     221                .map_flash_region       = fallback_map, 
     222                .unmap_flash_region     = fallback_unmap, 
     223                .chip_readb             = atahpt_chip_readb, 
     224                .chip_readw             = fallback_chip_readw, 
     225                .chip_readl             = fallback_chip_readl, 
     226                .chip_readn             = fallback_chip_readn, 
     227                .chip_writeb            = atahpt_chip_writeb, 
    206228                .chip_writew            = fallback_chip_writew, 
    207229                .chip_writel            = fallback_chip_writel, 
Note: See TracChangeset for help on using the changeset viewer.