source: rtems/bsps/powerpc/mvme3100/rtc/todcfg.c @ 65f868c

5
Last change on this file since 65f868c was 4fb1b79, checked in by Sebastian Huber <sebastian.huber@…>, on 04/23/18 at 07:55:15

bsps: Move RTC drivers to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 636 bytes
RevLine 
[b599faa]1/*
2 * This file contains the RTC driver table for the MVME3100 BSP
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
[c499856]6 * http://www.rtems.org/license/LICENSE.
[b599faa]7 *
8 * Modified for mvme3100 by T. Straumann, 2007
9 */
10
11#include <bsp.h>
12#include <libchip/rtc.h>
13#include <libchip/ds1375-rtc.h>
14
15/* The following table configures the RTC drivers used in this BSP */
16rtc_tbl RTC_Table[] = {
17        DS1375_RTC_TBL_ENTRY(BSP_I2C_DS1375_RAW_DEV_NAME),
18};
19
20/* Some information used by the RTC driver */
21
22#define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl))
23
24size_t RTC_Count = NUM_RTCS;
Note: See TracBrowser for help on using the repository browser.