mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge with /home/wd/git/u-boot/custodian/u-boot-fdt
This commit is contained in:
@@ -38,5 +38,11 @@ int fdt_env(void *fdt);
|
||||
int fdt_bd_t(void *fdt);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_OF_BOARD_SETUP
|
||||
void ft_board_setup(void *blob, bd_t *bd);
|
||||
void ft_cpu_setup(void *blob, bd_t *bd);
|
||||
void ft_pci_setup(void *blob, bd_t *bd);
|
||||
#endif
|
||||
|
||||
#endif /* ifdef CONFIG_OF_LIBFDT */
|
||||
#endif /* ifndef __FDT_SUPPORT_H */
|
||||
|
||||
@@ -77,7 +77,13 @@ int fdt_subnode_offset_namelen(const void *fdt, int parentoffset,
|
||||
const char *name, int namelen);
|
||||
int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
|
||||
|
||||
int fdt_path_offset(const void *fdt, const char *path);
|
||||
int fdt_find_node_by_path(const void *fdt, const char *path);
|
||||
int fdt_find_node_by_type(const void *fdt, int nodeoffset, const char *type);
|
||||
|
||||
int fdt_node_is_compatible(const void *fdt, int nodeoffset,
|
||||
const char *compat);
|
||||
int fdt_find_compatible_node(const void *fdt, int nodeoffset,
|
||||
const char *type, const char *compat);
|
||||
|
||||
struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
|
||||
const char *name, int *lenp);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
struct fdt_header *fdt; /* Pointer to the working fdt */
|
||||
extern struct fdt_header *fdt; /* Pointer to the working fdt */
|
||||
|
||||
#define fdt32_to_cpu(x) __be32_to_cpu(x)
|
||||
#define cpu_to_fdt32(x) __cpu_to_be32(x)
|
||||
|
||||
Reference in New Issue
Block a user