Ignore:
Timestamp:
May 16, 2013, 3:01:37 PM (12 years ago)
Author:
cfuguet
Message:

Modifications in tsar/trunk/softs/tsar_boot:

  • Improving the boot_ioc_read when using a SD card in FPGA platform.
  • Adding some instrumentation on the SD card driver (under preprocessor conditional directives).
  • Including Doxyfile for generate documentation using doxygen.
  • Improving the Makefile to include doc generation.
Location:
trunk/softs/tsar_boot/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/include/boot_ioc.h

    r347 r388  
    33
    44#ifndef SOCLIB_IOC
    5     #include <sdcard.h>
    6     #include <spi.h>
     5#include <sdcard.h>
     6#include <spi.h>
    77#else
    8     #include <block_device.h>
     8#include <block_device.h>
    99#endif
    1010
  • trunk/softs/tsar_boot/include/spi.h

    r292 r388  
    9898void spi_dev_config (
    9999        struct spi_dev * spi,
    100         int spi_freq        ,
    101         int sys_freq            ,
    102         int char_len            ,
    103         int tx_edge                     ,
    104         int rx_edge                     );
     100        int spi_freq        ,
     101        int sys_freq        ,
     102        int char_len        ,
     103        int tx_edge         ,
     104        int rx_edge         );
    105105
    106106/**
     
    121121#define SPI_RXTX_MASK          (  0xFF   ) /**< Mask for the an RX/TX value   */
    122122
    123  /**
    124   * \param  x   :  Initialized pointer to the SPI controller
    125   *
    126   * \return 1 if there is an unfinished transfer in the SPI controller
    127   *
    128   * Check the GO_BUSY bit of the SPI Controller
    129   */
     123/**
     124 * \param  x : Initialized pointer to the SPI controller
     125 *
     126 * \return 1 if there is an unfinished transfer in the SPI controller
     127 *
     128 * \brief Check the GO_BUSY bit of the SPI Controller
     129 */
    130130#define SPI_IS_BUSY(x)         ((ioread32(&x->ctrl) & SPI_CTRL_GO_BSY) != 0) ? 1 : 0
    131131
Note: See TracChangeset for help on using the changeset viewer.