source: rtems/bsps/powerpc/mpc55xxevb/start/start-config-ebi.c @ 8f8ccee

5
Last change on this file since 8f8ccee was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup mpc55xx
5 *
6 * @brief EBI configuration.
7 */
8
9/*
10 * Copyright (c) 2012 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.org/license/LICENSE.
21 */
22
23#include <bsp/mpc55xx-config.h>
24
25#ifdef MPC55XX_HAS_EBI
26
27const mpc55xx_ebi_config mpc55xx_start_config_ebi [] = {
28  #if defined(MPC55XX_BOARD_GWLCFM)
29    {
30      .ebi_mcr = {
31        .B = {
32          .DBM = 1,
33          .AD_MUX = 1, /* use multiplexed bus */
34          .D16_31 = 1 /* use lower AD bus    */
35        }
36      },
37      .siu_eccr_ebdf = 4 - 1 /* use CLK/4 as bus clock */
38    }
39  #elif (defined(MPC55XX_BOARD_MPC5674FEVB) \
40    || defined(MPC55XX_BOARD_MPC5674F_ECU508) \
41    || defined(MPC55XX_BOARD_MPC5674F_RSM6)) \
42      && defined(MPC55XX_NEEDS_LOW_LEVEL_INIT)
43    {
44      .ebi_mcr = {
45        .B = {
46          .ACGE = 0,
47          .MDIS = 0,
48          .D16_31 = 1,
49          .AD_MUX = 0,
50          .DBM = 0
51        }
52      },
53      .siu_eccr_ebdf = 2 - 1
54    }
55  #endif
56};
57
58const size_t mpc55xx_start_config_ebi_count [] = {
59  RTEMS_ARRAY_SIZE(mpc55xx_start_config_ebi)
60};
61
62#endif /* MPC55XX_HAS_EBI */
Note: See TracBrowser for help on using the repository browser.