projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libfdt: use CONFIG_IS_ENABLED for OF_LIBFDT
[platform/kernel/u-boot.git]
/
lib
/
fdtdec.c
diff --git
a/lib/fdtdec.c
b/lib/fdtdec.c
index
81f47ef
..
1edfbf2
100644
(file)
--- a/
lib/fdtdec.c
+++ b/
lib/fdtdec.c
@@
-112,7
+112,7
@@
fdt_addr_t fdtdec_get_addr_size_fixed(const void *blob, int node,
return FDT_ADDR_T_NONE;
}
-#if
!defined(CONFIG_SPL_BUILD) && defined(CONFIG_OF_LIBFDT
)
+#if
CONFIG_IS_ENABLED(OF_TRANSLATE
)
if (translate)
addr = fdt_translate_address(blob, node, prop_addr);
else