source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c @ dafacfa7

4.115
Last change on this file since dafacfa7 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup mpc55xx
5 *
6 * @brief EBI calibration chip-select configuration.
7 */
8
9/*
10 * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 */
22
23#include <bsp/mpc55xx-config.h>
24#include <bsp/start.h>
25#include <bsp.h>
26
27#ifdef MPC55XX_HAS_EBI
28
29BSP_START_TEXT_SECTION const struct EBI_CAL_CS_tag
30  mpc55xx_start_config_ebi_cal_cs [] = {
31#if defined(MPC55XX_BOARD_MPC5674FEVB)
32  /* External SRAM */
33  {
34    .BR = {
35      .B = {
36        .BA = 0x20000000 >> 15,
37        .PS = 0,
38        .AD_MUX = 1,
39        .BL = 1,
40        .WEBS = 0,
41        .TBDIP = 1,
42        .SETA = 0,
43        .BI = 0,
44        .V = 1
45      }
46    },
47    .OR = {
48      .B = {
49        .AM = 0xfff80000 >> 15,
50        .SCY = 0,
51        .BSCY = 0
52      }
53    }
54  },
55  /* External Ethernet controller */
56  {
57    .BR = {
58      .B = {
59        .BA = 0x3fff8000 >> 15,
60        .PS = 0,
61        .AD_MUX = 1,
62        .BL = 0,
63        .WEBS = 0,
64        .TBDIP = 0,
65        .SETA = 0,
66        .BI = 1,
67        .V = 1
68      }
69    },
70    .OR = {
71      .B = {
72        .AM = 0xfff80000 >> 15,
73        .SCY = 1,
74        .BSCY = 0
75      }
76    }
77  }
78#endif
79};
80
81BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_ebi_cal_cs_count [] = {
82  sizeof(mpc55xx_start_config_ebi_cal_cs) / sizeof(mpc55xx_start_config_ebi_cal_cs [0])
83};
84
85#endif /* MPC55XX_HAS_EBI */
Note: See TracBrowser for help on using the repository browser.