Changeset 2d561b9 in rtems


Ignore:
Timestamp:
Nov 13, 2012, 1:39:19 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
67338ed
Parents:
bd75e58
git-author:
Sebastian Huber <sebastian.huber@…> (11/13/12 13:39:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/03/12 12:17:09)
Message:

bsp/mpc55xx: Use BSP_START_DATA_SECTION

Location:
c/src/lib/libbsp/powerpc/mpc55xxevb
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h

    rbd75e58 r2d561b9  
    88
    99/*
    10  * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2008-2012 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    4444} mpc55xx_siu_pcr_config;
    4545
    46 extern const mpc55xx_siu_pcr_config mpc55xx_start_config_siu_pcr [];
     46extern BSP_START_DATA_SECTION const mpc55xx_siu_pcr_config
     47  mpc55xx_start_config_siu_pcr [];
    4748
    48 extern const size_t mpc55xx_start_config_siu_pcr_count [];
     49extern BSP_START_DATA_SECTION const size_t
     50  mpc55xx_start_config_siu_pcr_count [];
    4951
    50 extern const struct MMU_tag mpc55xx_start_config_mmu_early [];
     52extern BSP_START_DATA_SECTION const struct
     53  MMU_tag mpc55xx_start_config_mmu_early [];
    5154
    52 extern const size_t mpc55xx_start_config_mmu_early_count [];
     55extern BSP_START_DATA_SECTION const size_t
     56  mpc55xx_start_config_mmu_early_count [];
    5357
    54 extern const struct MMU_tag mpc55xx_start_config_mmu [];
     58extern BSP_START_DATA_SECTION const struct
     59  MMU_tag mpc55xx_start_config_mmu [];
    5560
    56 extern const size_t mpc55xx_start_config_mmu_count [];
     61extern BSP_START_DATA_SECTION const size_t
     62  mpc55xx_start_config_mmu_count [];
    5763
    5864#ifdef MPC55XX_HAS_FMPLL
     
    8490#endif
    8591
    86 extern const mpc55xx_clock_config mpc55xx_start_config_clock [];
     92extern BSP_START_DATA_SECTION const mpc55xx_clock_config
     93  mpc55xx_start_config_clock [];
    8794
    8895#ifdef MPC55XX_HAS_EBI
    89   extern const struct EBI_CS_tag mpc55xx_start_config_ebi_cs [];
     96  extern BSP_START_DATA_SECTION const struct
     97    EBI_CS_tag mpc55xx_start_config_ebi_cs [];
    9098
    91   extern const size_t mpc55xx_start_config_ebi_cs_count [];
     99  extern BSP_START_DATA_SECTION const size_t
     100    mpc55xx_start_config_ebi_cs_count [];
    92101
    93   extern const struct EBI_CAL_CS_tag mpc55xx_start_config_ebi_cal_cs [];
     102  extern BSP_START_DATA_SECTION const struct EBI_CAL_CS_tag
     103    mpc55xx_start_config_ebi_cal_cs [];
    94104
    95   extern const size_t mpc55xx_start_config_ebi_cal_cs_count [];
     105  extern BSP_START_DATA_SECTION const size_t
     106    mpc55xx_start_config_ebi_cal_cs_count [];
    96107#endif
    97108
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-clock.c

    rbd75e58 r2d561b9  
    88
    99/*
    10  * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2008-2012 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    2323#include <bsp/mpc55xx-config.h>
    2424
    25 BSP_START_TEXT_SECTION const mpc55xx_clock_config
    26   mpc55xx_start_config_clock [1] = { {
     25const mpc55xx_clock_config mpc55xx_start_config_clock [1] = { {
    2726  #ifdef MPC55XX_HAS_FMPLL
    2827    .syncr_tmp = {
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs-cal.c

    rbd75e58 r2d561b9  
    88
    99/*
    10  * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2008-2012 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    2222
    2323#include <bsp/mpc55xx-config.h>
    24 #include <bsp/start.h>
    25 #include <bsp.h>
    2624
    2725#ifdef MPC55XX_HAS_EBI
    2826
    29 BSP_START_TEXT_SECTION const struct EBI_CAL_CS_tag
    30   mpc55xx_start_config_ebi_cal_cs [] = {
     27const struct EBI_CAL_CS_tag mpc55xx_start_config_ebi_cal_cs [] = {
    3128#if defined(MPC55XX_BOARD_MPC5674FEVB)
    3229  /* External SRAM */
     
    176173};
    177174
    178 BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_ebi_cal_cs_count [] = {
     175const size_t mpc55xx_start_config_ebi_cal_cs_count [] = {
    179176  sizeof(mpc55xx_start_config_ebi_cal_cs) / sizeof(mpc55xx_start_config_ebi_cal_cs [0])
    180177};
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-ebi-cs.c

    rbd75e58 r2d561b9  
    88
    99/*
    10  * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2008-2012 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
     
    2222
    2323#include <bsp/mpc55xx-config.h>
    24 #include <bsp/start.h>
    25 #include <bsp.h>
    2624
    2725#ifdef MPC55XX_HAS_EBI
    2826
    29 BSP_START_TEXT_SECTION const struct EBI_CS_tag
    30   mpc55xx_start_config_ebi_cs [] = {
     27const struct EBI_CS_tag mpc55xx_start_config_ebi_cs [] = {
    3128#if defined(MPC55XX_BOARD_GWLCFM)
    3229        /* CS0: External SRAM (16 bit, 1 wait states, 512kB, no burst) */
     
    161158};
    162159
    163 BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_ebi_cs_count [] = {
     160const size_t mpc55xx_start_config_ebi_cs_count [] = {
    164161  sizeof(mpc55xx_start_config_ebi_cs) / sizeof(mpc55xx_start_config_ebi_cs [0])
    165162};
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-mmu-early.c

    rbd75e58 r2d561b9  
    2121 */
    2222
    23 #include <bsp/start.h>
    2423#include <bsp/mpc55xx-config.h>
    2524
    26 BSP_START_TEXT_SECTION const struct MMU_tag
    27   mpc55xx_start_config_mmu_early [] = {
     25const struct MMU_tag mpc55xx_start_config_mmu_early [] = {
    2826#if defined(MPC55XX_BOARD_MPC5674F_ECU508) \
    2927  && !defined(MPC55XX_NEEDS_LOW_LEVEL_INIT)
     
    5250};
    5351
    54 BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_mmu_early_count [] = {
     52const size_t mpc55xx_start_config_mmu_early_count [] = {
    5553  sizeof(mpc55xx_start_config_mmu_early)
    5654    / sizeof(mpc55xx_start_config_mmu_early [0])
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-mmu.c

    rbd75e58 r2d561b9  
    2121 */
    2222
    23 #include <bsp.h>
    24 #include <bsp/start.h>
    2523#include <bsp/mpc55xx-config.h>
    2624
    27 BSP_START_TEXT_SECTION const struct MMU_tag
    28   mpc55xx_start_config_mmu [] = {
     25const struct MMU_tag mpc55xx_start_config_mmu [] = {
    2926#if defined(MPC55XX_BOARD_GWLCFM)
    3027  /* External Ethernet Controller 64k */
     
    121118};
    122119
    123 BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_mmu_count [] = {
     120const size_t mpc55xx_start_config_mmu_count [] = {
    124121  sizeof(mpc55xx_start_config_mmu) / sizeof(mpc55xx_start_config_mmu [0])
    125122};
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-config-siu-pcr.c

    rbd75e58 r2d561b9  
    2222
    2323#include <bsp/mpc55xx-config.h>
    24 #include <bsp/start.h>
    25 #include <bsp.h>
    2624
    27 BSP_START_TEXT_SECTION const mpc55xx_siu_pcr_config
    28   mpc55xx_start_config_siu_pcr [] = {
     25const mpc55xx_siu_pcr_config mpc55xx_start_config_siu_pcr [] = {
    2926#if defined(MPC55XX_BOARD_GWLCFM)
    3027  {  0,16, 0, {.B.PA = 1,           .B.WPE = 0}}, /* PA[ 0..15] analog input */
     
    134131};
    135132
    136 BSP_START_TEXT_SECTION const size_t mpc55xx_start_config_siu_pcr_count [] = {
     133const size_t mpc55xx_start_config_siu_pcr_count [] = {
    137134  sizeof(mpc55xx_start_config_siu_pcr) / sizeof(mpc55xx_start_config_siu_pcr [0])
    138135};
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start-early.c

    rbd75e58 r2d561b9  
    2121 */
    2222
    23 #include <bsp.h>
    24 #include <bsp/start.h>
    2523#include <bsp/mpc55xx-config.h>
    2624#include <bsp/linker-symbols.h>
Note: See TracChangeset for help on using the changeset viewer.