projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: core: Decouple DM from DT
[oweals/u-boot.git]
/
drivers
/
core
/
util.c
diff --git
a/drivers/core/util.c
b/drivers/core/util.c
index 60b939a92401fee3bf4a5a36a3992f1f4dfd8292..7dc1a2af0282cf7ddecc749dc66fc3bc8851051c 100644
(file)
--- a/
drivers/core/util.c
+++ b/
drivers/core/util.c
@@
-31,6
+31,7
@@
int list_count_items(struct list_head *head)
return count;
}
+#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
bool dm_ofnode_pre_reloc(ofnode node)
{
#if defined(CONFIG_SPL_BUILD) || defined(CONFIG_TPL_BUILD)
@@
-56,3
+57,4
@@
bool dm_ofnode_pre_reloc(ofnode node)
return false;
#endif
}
+#endif