summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-05-11 13:02:03 -0400
committerTom Rini <[email protected]>2023-05-11 13:02:03 -0400
commiteaa9efafffaf87e3414db5d21face5e2dad105e4 (patch)
tree4b6fc541bf21bcd0dc2afa9b832963393e2bf22b /include/fdt_support.h
parent11910550b65e6072b9542d462c0aa93f4ca81836 (diff)
parent1781ec67f43ae6fcaec628831b09a587f5cab174 (diff)
Merge branch '2023-05-11-CONFIG_IS_ENABLED-vs-IS_ENABLED-cleanups' into next
- Bring in some of the clean-ups to use IS_ENABLED rather than CONFIG_IS_ENABLED to make the code less error-prone.
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 5638bd4f165..eeb83e6251d 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -7,7 +7,8 @@
#ifndef __FDT_SUPPORT_H
#define __FDT_SUPPORT_H
-#if defined(CONFIG_OF_LIBFDT) && !defined(USE_HOSTCC)
+#if (defined(CONFIG_OF_LIBFDT) || defined(CONFIG_OF_CONTROL)) && \
+ !defined(USE_HOSTCC)
#include <asm/u-boot.h>
#include <linux/libfdt.h>