Changeset 574fb67 in rtems for c/src/libchip


Ignore:
Timestamp:
Jul 14, 2008, 4:15:28 PM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
18e6e824
Parents:
3c6fe2e
Message:

updated gen83xx BSP
updated haleakala BSP
added MPC55xx BSP

Location:
c/src/libchip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/Makefile.am

    r3c6fe2e r574fb67  
    8383# i2c
    8484if LIBCHIP
    85 include_libchip_HEADERS += i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h \
    86                            i2c/spi-memdrv.h                     \
    87                            i2c/spi-flash-m25p40.h i2c/spi-fram-fm25l256.h
     85
     86include_libchip_HEADERS += i2c/i2c-ds1621.h \
     87        i2c/i2c-2b-eeprom.h \
     88        i2c/spi-memdrv.h \
     89        i2c/spi-flash-m25p40.h \
     90        i2c/spi-fram-fm25l256.h \
     91        i2c/spi-sd-card.h
    8892
    8993noinst_LIBRARIES += libi2cio.a
     94
    9095libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
    91 libi2cio_a_SOURCES  = i2c/i2c-ds1621.c i2c/i2c-2b-eeprom.c \
    92     i2c/i2c-ds1621.h i2c/i2c-2b-eeprom.h \
    93     i2c/spi-memdrv.c i2c/spi-memdrv.h \
    94     i2c/spi-flash-m25p40.c i2c/spi-flash-m25p40.h \
    95     i2c/spi-fram-fm25l256.c i2c/spi-fram-fm25l256.h
     96libi2cio_a_SOURCES = i2c/i2c-ds1621.h \
     97        i2c/i2c-2b-eeprom.h \
     98        i2c/spi-memdrv.h \
     99        i2c/spi-flash-m25p40.h \
     100        i2c/spi-fram-fm25l256.h \
     101        i2c/i2c-ds1621.c \
     102        i2c/i2c-2b-eeprom.c \
     103        i2c/spi-memdrv.c \
     104        i2c/spi-flash-m25p40.c \
     105        i2c/spi-fram-fm25l256.c \
     106        i2c/spi-sd-card.c
     107
    96108endif
    97109
  • c/src/libchip/i2c/spi-sd-card.c

    r3c6fe2e r574fb67  
    1717 */
    1818
     19#include <stdio.h>
     20#include <errno.h>
     21
    1922#include <rtems.h>
    2023#include <rtems/libi2c.h>
     
    2225#include <rtems/diskdevs.h>
    2326
    24 #include <errno.h>
    25 
    2627#include <libchip/spi-sd-card.h>
    27 
    28 // #define DEBUG
    2928
    3029#include <rtems/status-checks.h>
  • c/src/libchip/preinstall.am

    r3c6fe2e r574fb67  
    142142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/spi-fram-fm25l256.h
    143143PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/spi-fram-fm25l256.h
     144
     145$(PROJECT_INCLUDE)/libchip/spi-sd-card.h: i2c/spi-sd-card.h $(PROJECT_INCLUDE)/libchip/$(dirstamp)
     146        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libchip/spi-sd-card.h
     147PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip/spi-sd-card.h
    144148endif
    145149if LIBCHIP
Note: See TracChangeset for help on using the changeset viewer.