source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/include/bsp.h @ d374492

4.104.11
Last change on this file since d374492 was d374492, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 21, 2009 at 8:38:04 AM

Update for MPC55XX changes

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup mpc55xx
5 *
6 * @brief Global BSP variables and functions
7 */
8
9/*
10 * Copyright (c) 2008
11 * Embedded Brains GmbH
12 * Obere Lagerstr. 30
13 * D-82178 Puchheim
14 * Germany
15 * rtems@embedded-brains.de
16 *
17 * The license and distribution terms for this file may be found in the file
18 * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
19 */
20
21#ifndef LIBBSP_POWERPC_BSP_H
22#define LIBBSP_POWERPC_BSP_H
23
24#include <stdint.h>
25
26#include <rtems.h>
27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
29
30#include <bspopts.h>
31
32#include <bsp/tictac.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* __cplusplus */
37
38#ifndef ASM
39
40/** @brief System clock frequency */
41extern unsigned int bsp_clock_speed;
42
43/** @brief Time base clicks per micro second */
44extern uint32_t bsp_clicks_per_usec;
45
46rtems_status_code mpc55xx_sd_card_init( bool mount);
47
48/* Network driver configuration */
49
50struct rtems_bsdnet_ifconfig;
51
52int smsc9218i_attach_detach(
53  struct rtems_bsdnet_ifconfig *config,
54  int attaching
55);
56
57#define RTEMS_BSP_NETWORK_DRIVER_ATTACH smsc9218i_attach_detach
58
59#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
60
61#endif /* ASM */
62
63#ifdef __cplusplus
64}
65#endif /* __cplusplus */
66
67#endif /* LIBBSP_POWERPC_BSP_H */
Note: See TracBrowser for help on using the repository browser.