Ignore:
Timestamp:
Sep 21, 2018, 10:23:32 PM (4 years ago)
Author:
nicolas.van.phan@…
Message:

Implement bootloader SPI SD card driver (VERY SLOW)

Rectify boot_spi_driver frequency

File:
1 edited

Legend:

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

    r521 r547  
    66#include <boot_tty_driver.h>
    77#include <boot_bdv_driver.h>
     8#include <boot_spi_driver.h>
    89#include <boot_hba_driver.h>
    910#include <boot_mmc_driver.h>
     
    126127#elif   USE_IOC_HBA
    127128    return ( boot_hba_access( lba, buf_paddr, count) );
    128 
     129#elif   USE_IOC_SPI
     130    return ( boot_spi_access( lba, buf_paddr, count) );
    129131/*
    130132#elif   USE_IOC_SDC
    131133    return ( boot_sdc_access( lba, buf_paddr, count) );
    132 #elif   USE_IOC_SPI
    133     return ( boot_spi_access( lba, buf_paddr, count) );
    134134#elif   USE_IOC_RDK
    135135    return ( boot_rdk_access( lba, buf_paddr, count) );
     
    941941    while (nb_clusters > 0)
    942942    {
     943#if DEBUG_BOOT_FAT32
     944boot_printf("[BOOT INFO] in %s : Loading cluster %d\n", __FUNCTION__, nb_clusters);
     945#endif
    943946        cluster_lba = cluster_to_lba(cur_cluster);
    944947
Note: See TracChangeset for help on using the changeset viewer.