RTEMS  5.0.0
u-boot.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2010-2014 embedded brains GmbH. All rights reserved.
11  *
12  * embedded brains GmbH
13  * Dornierstr. 4
14  * 82178 Puchheim
15  * Germany
16  * <rtems@embedded-brains.de>
17  *
18  * The license and distribution terms for this file may be
19  * found in the file LICENSE in this distribution or at
20  * http://www.rtems.org/license/LICENSE.
21  */
22 
23 #ifndef LIBBSP_SHARED_U_BOOT_H
24 #define LIBBSP_SHARED_U_BOOT_H
25 
26 #include <bsp/u-boot-config.h>
27 
28 #include <sys/types.h>
29 #include <stdint.h>
30 
31 #ifdef U_BOOT_64_BIT_PHYS_SIZE
32  typedef uint64_t phys_size_t;
33 #else
34  typedef unsigned long phys_size_t;
35 #endif
36 
37 #include <bsp/u-boot-board-info.h>
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif /* __cplusplus */
42 
43 extern bd_t bsp_uboot_board_info;
44 
53 void bsp_uboot_copy_board_info(const bd_t *src);
54 
55 /* FIXME: Do not use this function */
56 void dumpUBootBDInfo(bd_t *u);
57 
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61 
62 #endif /* LIBBSP_SHARED_U_BOOT_H */
Definition: network.c:86