Changeset 654 for trunk/softs


Ignore:
Timestamp:
Mar 3, 2014, 6:48:38 PM (10 years ago)
Author:
cfuguet
Message:

Cleaning up reset_ioc.c file and re-establishing
the .SILENT variable in the Makefile

Location:
trunk/softs/tsar_boot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/Makefile

    r653 r654  
    140140        $(DU) -D $@ > $@.txt
    141141
    142 #.SILENT:
     142.SILENT:
  • trunk/softs/tsar_boot/src/reset_ioc.c

    r653 r654  
    192192                    unsigned int count )
    193193{
    194     int status;
    195194#if USE_BDV
    196     status = reset_bdv_read(lba, buffer, count);
    197 #endif
    198 #if USE_SPI
    199     status = reset_spi_read(lba, buffer, count);
    200 #endif
    201 #if USE_RDK
    202     status = reset_rdk_read(lba, buffer, count);
    203 #endif
    204     return status;
     195    return reset_bdv_read(lba, buffer, count);
     196#elif USE_SPI
     197    return reset_spi_read(lba, buffer, count);
     198#elif USE_RDK
     199    return reset_rdk_read(lba, buffer, count);
     200#else
     201#   error "reset_ioc_read() : No supported disk controller chosen"
     202#endif
    205203}
    206204
Note: See TracChangeset for help on using the changeset viewer.