Changeset da80202 in rtems


Ignore:
Timestamp:
Jan 9, 2013, 1:31:58 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f12ef239
Parents:
fb070e05
git-author:
Sebastian Huber <sebastian.huber@…> (01/09/13 13:31:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/09/13 15:45:26)
Message:

bsp/gen83xx: Register I2C SEMTECH SC620 driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/i2c/i2c_init.c

    rfb070e05 rda80202  
    2121#include <mpc83xx/mpc83xx_i2cdrv.h>
    2222#include <libchip/i2c-2b-eeprom.h>
     23#include <libchip/i2c-sc620.h>
    2324#include <bsp/irq.h>
    2425#include <bsp.h>
     
    128129#endif /* RTEMS_BSP_I2C_EEPROM_DEVICE_NAME */
    129130
     131#ifdef MPC83XX_BOARD_BR_UID
     132  if (n > 0) {
     133    rtems_libi2c_register_drv(
     134      "sc620",
     135      &i2c_sc620_driver,
     136      i2c_busno[0],
     137      0x70
     138    );
     139  }
     140#endif /* MPC83XX_BOARD_BR_UID */
     141
    130142  /*
    131143   * FIXME: register RTC driver, when available
Note: See TracChangeset for help on using the changeset viewer.