Ignore:
Timestamp:
May 14, 2015, 10:45:44 PM (9 years ago)
Author:
alain
Message:

Introduce a new driver for SD Card using the 4bits wide SD bus.
THere is now 5 supported block device peripherals, and the driver names
have been re-organised: reset_ioc_xxx with xxx in (bdv, hba, rdk, spi, sdc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/reset_utils.c

    r962 r992  
    231231    unsigned int word;
    232232
    233     reset_puts("***********************************************************************\n");
     233    reset_puts("\n***********************************************************************\n");
    234234    for ( line = 0 ; line < 32 ; line++ )
    235235    {
     
    241241        for ( word=0 ; word<4 ; word++ )
    242242        {
    243             unsigned int byte  = (line<<5) + (word<<2);
     243            unsigned int byte  = (line<<4) + (word<<2);
    244244            unsigned int hexa  = (buffer[byte  ]<<24) |
    245245                                 (buffer[byte+1]<<16) |
Note: See TracChangeset for help on using the changeset viewer.