diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-30 12:58:39 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-12-30 12:58:39 +0000 |
commit | 9812d517a13a5b5af246b55d416aa8ca04471b57 (patch) | |
tree | 6549d59b8c40c57247264ecd385d51baf59d7cb0 /c/src/lib/libbsp/shared/include | |
parent | 2010-12-29 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-9812d517a13a5b5af246b55d416aa8ca04471b57.tar.bz2 |
2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/bspgetworkarea.c: Include <bsp/u-boot.h> if necessary.
* shared/include/u-boot.h, shared/src/bsp-uboot-board-info.c: New
files.
Diffstat (limited to 'c/src/lib/libbsp/shared/include')
-rw-r--r-- | c/src/lib/libbsp/shared/include/u-boot.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/include/u-boot.h b/c/src/lib/libbsp/shared/include/u-boot.h new file mode 100644 index 0000000000..3f79952392 --- /dev/null +++ b/c/src/lib/libbsp/shared/include/u-boot.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2010 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Obere Lagerstr. 30 + * 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.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef LIBBSP_SHARED_U_BOOT_H +#define LIBBSP_SHARED_U_BOOT_H + +#include <bsp/u-boot-config.h> + +typedef unsigned long phys_size_t; + +#include <bsp/u-boot-board-info.h> + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +extern bd_t bsp_uboot_board_info; + +void bsp_uboot_copy_board_info(const bd_t *src); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* LIBBSP_SHARED_U_BOOT_H */ |