summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:44:54 +0300
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 20:36:48 +0300
commit7fefef5078d427e5b9e22e19352d492029cea6f2 (patch)
tree7854de2410e873756cad33ab92e825684aae467f /arch
parent1318a0efade80d853e27280adcaf4812d16c742f (diff)
downloadu-boot-7fefef5078d427e5b9e22e19352d492029cea6f2.tar.xz
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')
-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 e96137a50c..d1d1573c62 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>