Changeset 06251bb in rtems


Ignore:
Timestamp:
Dec 22, 2014, 6:26:19 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
f6660bfb
Parents:
b79f98f
git-author:
Sebastian Huber <sebastian.huber@…> (12/22/14 06:26:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/09/15 13:03:33)
Message:

bsps/u-boot: Add optional text and data sections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/src/bsp-uboot-board-info.c

    rb79f98f r06251bb  
    11/*
    2  * Copyright (c) 2010 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2010-2014 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
    5  *  Obere Lagerstr. 30
     5 *  Dornierstr. 4
    66 *  82178 Puchheim
    77 *  Germany
     
    1515#include <bsp/u-boot.h>
    1616
    17 bd_t bsp_uboot_board_info;
     17#ifndef U_BOOT_BOARD_INFO_TEXT_SECTION
     18#define U_BOOT_BOARD_INFO_TEXT_SECTION
     19#endif
    1820
    19 void bsp_uboot_copy_board_info(const bd_t *src)
     21#ifndef U_BOOT_BOARD_INFO_DATA_SECTION
     22#define U_BOOT_BOARD_INFO_DATA_SECTION
     23#endif
     24
     25U_BOOT_BOARD_INFO_DATA_SECTION bd_t bsp_uboot_board_info;
     26
     27U_BOOT_BOARD_INFO_TEXT_SECTION void bsp_uboot_copy_board_info(const bd_t *src)
    2028{
    2129  const int *s = (const int *) src;
Note: See TracChangeset for help on using the changeset viewer.