From 6df41b1cf3f22c8baa3e2919d7607f96c5385c57 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 7 Dec 2018 19:00:39 -0500 Subject: [PATCH] cmd: Move the "dm" command from test/dm/ to cmd/ The "dm" command under CONFIG_CMD_DM should live under cmd/ rather than test/dm/ so move it. Signed-off-by: Tom Rini --- cmd/Makefile | 1 + test/dm/cmd_dm.c => cmd/dm.c | 0 test/dm/Makefile | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename test/dm/cmd_dm.c => cmd/dm.c (100%) diff --git a/cmd/Makefile b/cmd/Makefile index 49986437ba..15ae4d250f 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_CMD_CPU) += cpu.o obj-$(CONFIG_DATAFLASH_MMC_SELECT) += dataflash_mmc_mux.o obj-$(CONFIG_CMD_DATE) += date.o obj-$(CONFIG_CMD_DEMO) += demo.o +obj-$(CONFIG_CMD_DM) += dm.o obj-$(CONFIG_CMD_SOUND) += sound.o ifdef CONFIG_POST obj-$(CONFIG_CMD_DIAG) += diag.o diff --git a/test/dm/cmd_dm.c b/cmd/dm.c similarity index 100% rename from test/dm/cmd_dm.c rename to cmd/dm.c diff --git a/test/dm/Makefile b/test/dm/Makefile index 6b451060d8..7dc80be25e 100644 --- a/test/dm/Makefile +++ b/test/dm/Makefile @@ -2,7 +2,6 @@ # # Copyright (c) 2013 Google, Inc -obj-$(CONFIG_CMD_DM) += cmd_dm.o obj-$(CONFIG_UT_DM) += bus.o obj-$(CONFIG_UT_DM) += test-driver.o obj-$(CONFIG_UT_DM) += test-fdt.o -- 2.25.1