Changeset 550 for trunk/boot/tsar_mips32


Ignore:
Timestamp:
Sep 21, 2018, 10:24:15 PM (6 years ago)
Author:
nicolas.van.phan@…
Message:

Add SD card driver in kernel

File:
1 edited

Legend:

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

    r547 r550  
    463463            (device->type != DEV_TYPE_ICU_XCU) &&
    464464            (device->type != DEV_TYPE_MMC_TSR) &&
    465             (device->type != DEV_TYPE_DMA_SCL) )
     465            (device->type != DEV_TYPE_DMA_SCL) &&
     466            (device->type != DEV_TYPE_TXT_MTY) &&
     467            (device->type != DEV_TYPE_IOC_SPI) )
    466468        {
    467469            boot_dev = &boot_info->ext_dev[device_id];
     
    558560            (device->type == DEV_TYPE_MMC_TSR) ||
    559561            (device->type == DEV_TYPE_DMA_SCL) ||
    560             (device->type == DEV_TYPE_TXT_MTY) )
     562            (device->type == DEV_TYPE_TXT_MTY) ||
     563            (device->type == DEV_TYPE_IOC_SPI) )
    561564        {
    562565            if (device->type == DEV_TYPE_RAM_SCL)   // RAM
    563566            {
    564                 // set number of physical memory pages 
     567                // set number of physical memory pages
    565568                boot_info->pages_nr   = device->size >> CONFIG_PPM_PAGE_SHIFT;
    566569
Note: See TracChangeset for help on using the changeset viewer.