Changeset 680 for trunk/boot/tsar_mips32


Ignore:
Timestamp:
Nov 20, 2020, 12:31:55 AM (4 years ago)
Author:
alain
Message:

euh...

Location:
trunk/boot/tsar_mips32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/boot/tsar_mips32/boot_spi_driver.c

    r619 r680  
    2929static void _sdc_enable()
    3030{
    31     spi_ss_assert(sdcard.spi, sdcard.slave_id);
     31    spi_ss_assert( __FUNCTION__,sdcard.spi, sdcard.slave_id);
    3232}
    3333
     
    3737static void _sdc_disable()
    3838{
    39     spi_ss_deassert(sdcard.spi, sdcard.slave_id);
     39    spi_ss_deassert( __FUNCTION__,sdcard.spi, sdcard.slave_id);
    4040}
    4141
  • trunk/boot/tsar_mips32/boot_spi_utils.c

    r619 r680  
    195195
    196196///////////////////////////////////////////////////////////////////////////////
    197 //      spi_ss_assert()
     197//      spi_ss_assert( __FUNCTION__,)
    198198// This function enables a SPI slave
    199199// - spi   : initialized pointer to the SPI controller
    200200// - index : slave index
    201201///////////////////////////////////////////////////////////////////////////////
    202 void spi_ss_assert(struct boot_spi_dev * spi, int index)
     202void spi_ss_assert( __FUNCTION__,struct boot_spi_dev * spi, int index)
    203203{
    204204    unsigned int spi_ss = ioread32(&spi->ss);
     
    208208
    209209///////////////////////////////////////////////////////////////////////////////
    210 //      spi_ss_deassert()
     210//      spi_ss_deassert( __FUNCTION__,)
    211211// This function disables a SPI slave
    212212// - spi   : initialized pointer to the SPI controller
    213213// - index : slave index
    214214///////////////////////////////////////////////////////////////////////////////
    215 void spi_ss_deassert(struct boot_spi_dev * spi, int index)
     215void spi_ss_deassert( __FUNCTION__,struct boot_spi_dev * spi, int index)
    216216{
    217217    unsigned int spi_ss = ioread32(&spi->ss);
Note: See TracChangeset for help on using the changeset viewer.