aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:43 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:25:02 -0500
commit288b29e44d30afd946724ac577125ea9f80c8aca (patch)
tree357715f6c9b5bf4202930c0604bc530a928611d9 /test
parent36bf446b642d5759981f5adf547b4a7aeb15eee3 (diff)
downloadu-boot-288b29e44d30afd946724ac577125ea9f80c8aca.tar.gz
common: Move command functions out of common.h
Move these functions into the command.h header file which is a better fit. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test')
-rw-r--r--test/command_ut.c1
-rw-r--r--test/dm/sf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/command_ut.c b/test/command_ut.c
index 62f2828b7c..8e268e5ee5 100644
--- a/test/command_ut.c
+++ b/test/command_ut.c
@@ -6,6 +6,7 @@
#define DEBUG
#include <common.h>
+#include <command.h>
static const char test_cmd[] = "setenv list 1\n setenv list ${list}2; "
"setenv list ${list}3\0"
diff --git a/test/dm/sf.c b/test/dm/sf.c
index 65aab4f2e9..7805af740e 100644
--- a/test/dm/sf.c
+++ b/test/dm/sf.c
@@ -4,6 +4,7 @@
*/
#include <common.h>
+#include <command.h>
#include <dm.h>
#include <fdtdec.h>
#include <mapmem.h>