diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-13 09:14:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-16 14:56:10 +0200 |
commit | 9d44ae78cf67f7fe1b22ecbd4f9d244f791758e6 (patch) | |
tree | 4e23b3739667b6eee3c8ea6d453ff55b32397a94 /c/src/lib/libbsp/shared | |
parent | bsps: Move bsp-fdt.c to bsps (diff) | |
download | rtems-9d44ae78cf67f7fe1b22ecbd4f9d244f791758e6.tar.bz2 |
bsps: Move bsp-uboot-board-info.c to bsps
This patch is a part of the BSP source reorganization.
Update #3285.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r-- | c/src/lib/libbsp/shared/src/bsp-uboot-board-info.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/c/src/lib/libbsp/shared/src/bsp-uboot-board-info.c b/c/src/lib/libbsp/shared/src/bsp-uboot-board-info.c deleted file mode 100644 index e68060a3ac..0000000000 --- a/c/src/lib/libbsp/shared/src/bsp-uboot-board-info.c +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2010, 2016 embedded brains GmbH. All rights reserved. - * - * embedded brains GmbH - * Dornierstr. 4 - * 82178 Puchheim - * Germany - * <rtems@embedded-brains.de> - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <bsp/u-boot.h> - -#include <string.h> -#include <rtems.h> - -#ifndef U_BOOT_BOARD_INFO_DATA_SECTION -#define U_BOOT_BOARD_INFO_DATA_SECTION -#endif - -U_BOOT_BOARD_INFO_DATA_SECTION bd_t bsp_uboot_board_info; - -void bsp_uboot_copy_board_info(const bd_t *src) -{ - bd_t *dst = &bsp_uboot_board_info; - - dst = memcpy(dst, src, sizeof(*dst)); - rtems_cache_flush_multiple_data_lines(dst, sizeof(*dst)); -} |