Changeset 289 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Feb 4, 2014, 2:16:37 AM (11 years ago)
Author:
cfuguet
Message:

Modifications on GIET-VM IOC driver:

  • Introducing new layer on the IOC driver. Every call to ioc_read, ioc_write, ioc_get_block_size or ioc_init

functions will call the specific driver of the used IOC
controller. Supported IOC controllers are (for now) :

  1. BDV (Soclib Block Device)
  2. HBA
  3. SPI (SDCARD - SPI controller)
  • All functions of IOC controllers drivers respect the same interface.
  • To specify the used IOC controller of the platform, a subtype field has been introduced on the map.xml file. This subtype field must be declared on the IOC periph instantiation. Available subtypes (for now) : BDV, HBA or SPI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r272 r289  
    1414
    1515### Objects to be linked for kernel.elf
    16 KERNEL_OBJS  = build/common/utils.o        \
    17                build/common/vmem.o          \
     16KERNEL_OBJS  = build/common/utils.o       \
     17               build/common/vmem.o        \
    1818               build/fat32/fat32.o        \
    1919               build/drivers/dma_driver.o \
     
    2222               build/drivers/icu_driver.o \
    2323               build/drivers/ioc_driver.o \
     24               build/drivers/bdv_driver.o \
     25               build/drivers/hba_driver.o \
     26               build/drivers/sdc_driver.o \
     27               build/drivers/spi_driver.o \
    2428               build/drivers/iob_driver.o \
    2529               build/drivers/mmc_driver.o \
     
    3741
    3842### Objects to be linked for boot.elf
    39 BOOT_OBJS    = build/common/utils.o        \
    40                build/common/vmem.o          \
     43BOOT_OBJS    = build/common/utils.o       \
     44               build/common/vmem.o        \
    4145               build/fat32/fat32.o        \
    4246               build/drivers/tty_driver.o \
     
    4549               build/drivers/mwr_driver.o \
    4650               build/drivers/ioc_driver.o \
     51               build/drivers/bdv_driver.o \
     52               build/drivers/hba_driver.o \
     53               build/drivers/sdc_driver.o \
     54               build/drivers/spi_driver.o \
    4755               build/drivers/nic_driver.o \
    4856               build/drivers/mmc_driver.o \
     
    9098
    9199CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32
     100
    92101
    93102GIET_INCLUDE = -Igiet_boot    \
     
    183192        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
    184193
     194build/drivers/bdv_driver.o: giet_drivers/bdv_driver.c  \
     195                            giet_drivers/bdv_driver.h  \
     196                            giet_config.h              \
     197                            $(MAP_XML)
     198        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     199
     200build/drivers/hba_driver.o: giet_drivers/hba_driver.c  \
     201                            giet_drivers/hba_driver.h  \
     202                            giet_config.h              \
     203                            $(MAP_XML)
     204        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     205
     206build/drivers/sdc_driver.o: giet_drivers/sdc_driver.c  \
     207                            giet_drivers/sdc_driver.h  \
     208                            giet_config.h              \
     209                            $(MAP_XML)
     210        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     211
     212build/drivers/spi_driver.o: giet_drivers/spi_driver.c  \
     213                            giet_drivers/spi_driver.h  \
     214                            giet_config.h              \
     215                            $(MAP_XML)
     216        $(CC) $(GIET_INCLUDE) $(CFLAGS)  -c -o $@ $<
     217
    185218build/drivers/iob_driver.o: giet_drivers/iob_driver.c  \
    186219                            giet_drivers/iob_driver.h  \
     
    248281                   giet_common/utils.h       \
    249282                   giet_fat32/fat32.h        \
    250                    giet_common/vmem.h          \
     283                   giet_common/vmem.h        \
    251284                   giet_drivers/tty_driver.h \
    252285                   giet_drivers/ioc_driver.h \
Note: See TracChangeset for help on using the changeset viewer.