summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-07-31 12:28:48 -0600
committerTom Rini <trini@konsulko.com>2022-08-10 13:46:55 -0400
commit4e4bf9449b4f436419490a4a8cf4de17433cac15 (patch)
treed8a562562004af2b2a5dc0dbe1b19bec686c21de /lib
parent99699a770744b91d93399daccf3b3caf506c04c7 (diff)
downloadu-boot-4e4bf9449b4f436419490a4a8cf4de17433cac15.tar.gz
u-boot-4e4bf9449b4f436419490a4a8cf4de17433cac15.tar.bz2
u-boot-4e4bf9449b4f436419490a4a8cf4de17433cac15.zip
common: Drop display_options.h from common header
Move this out of the common header and include it only where needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/aes.c1
-rw-r--r--lib/display_options.c1
-rw-r--r--lib/fdtdec.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/aes.c b/lib/aes.c
index 05ec235702..4fca85ebee 100644
--- a/lib/aes.c
+++ b/lib/aes.c
@@ -23,6 +23,7 @@
#ifndef USE_HOSTCC
#include <common.h>
+#include <display_options.h>
#include <log.h>
#else
#include <string.h>
diff --git a/lib/display_options.c b/lib/display_options.c
index 360b01bcf5..7feb446a55 100644
--- a/lib/display_options.c
+++ b/lib/display_options.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <compiler.h>
#include <console.h>
+#include <display_options.h>
#include <div64.h>
#include <version_string.h>
#include <linux/ctype.h>
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index ffa78f97ca..96b6b71a60 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -6,6 +6,7 @@
#ifndef USE_HOSTCC
#include <common.h>
#include <boot_fit.h>
+#include <display_options.h>
#include <dm.h>
#include <hang.h>
#include <init.h>