summaryrefslogtreecommitdiff
path: root/board/emulation
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:46 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitc7694dd4837ba12db3bcda872a1047a44566e0e8 (patch)
tree342d485e989590d44bbd921a77bb0e5452c041c0 /board/emulation
parentb9ca02c2d554cb46a4579e1382561c529820b494 (diff)
env: Move env_set_hex() to env.h
Move env_set_hex() over to the new header file along with env_set_addr() which uses it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'board/emulation')
-rw-r--r--board/emulation/qemu-riscv/qemu-riscv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/emulation/qemu-riscv/qemu-riscv.c b/board/emulation/qemu-riscv/qemu-riscv.c
index d6167aaef1..49e304f7eb 100644
--- a/board/emulation/qemu-riscv/qemu-riscv.c
+++ b/board/emulation/qemu-riscv/qemu-riscv.c
@@ -5,6 +5,7 @@
#include <common.h>
#include <dm.h>
+#include <env.h>
#include <fdtdec.h>
#include <virtio_types.h>
#include <virtio.h>