/* * Copyright (c) 2010 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Obere Lagerstr. 30 * 82178 Puchheim * Germany * * * 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 bd_t bsp_uboot_board_info; void bsp_uboot_copy_board_info(const bd_t *src) { const int *s = (const int *) src; int *d = (int *) &bsp_uboot_board_info; int i = 0; int n = sizeof(*src) / sizeof(int); for (i = 0; i < n; ++i) { d [i] = s [i]; } }