aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:54 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:27:27 -0500
commit807765b0671d17943c9c1923e18d49ace479794e (patch)
tree7af28ab7f21c7d4d7214718c3d45c6e9f7a3d856 /arch/riscv
parent4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00 (diff)
downloadu-boot-807765b0671d17943c9c1923e18d49ace479794e.zip
u-boot-807765b0671d17943c9c1923e18d49ace479794e.tar.gz
u-boot-807765b0671d17943c9c1923e18d49ace479794e.tar.bz2
common: Move device-tree setup functions to fdt_support.h
These functions relate to setting up the device tree for booting the OS. The fdt_support.h header file supports similar functions, so move these there. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/lib/bootm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index e96137a..d1d1573 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <command.h>
#include <dm.h>
+#include <fdt_support.h>
#include <dm/root.h>
#include <image.h>
#include <asm/byteorder.h>