mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
fdt_support: include dm/ofnode.h
This patch is a preliminary patch to use ofnode function is fdt_support to read the U-Boot device tree with livetree compatible functions. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5ac10c00ed
commit
0e7cc08320
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <mapmem.h>
|
||||
#include <net.h>
|
||||
#include <stdio_dev.h>
|
||||
#include <dm/ofnode.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/types.h>
|
||||
#include <asm/global_data.h>
|
||||
|
@ -1065,7 +1066,6 @@ void fdt_del_node_and_alias(void *blob, const char *alias)
|
|||
|
||||
/* Max address size we deal with */
|
||||
#define OF_MAX_ADDR_CELLS 4
|
||||
#define OF_BAD_ADDR FDT_ADDR_T_NONE
|
||||
#define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \
|
||||
(ns) > 0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue