summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:54 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:48 +0530
commit7fefef5078d427e5b9e22e19352d492029cea6f2 (patch)
tree7854de2410e873756cad33ab92e825684aae467f /arch/riscv/lib/bootm.c
parent1318a0efade80d853e27280adcaf4812d16c742f (diff)
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/lib/bootm.c')
-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 e96137a50cb..d1d1573c622 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>