summaryrefslogtreecommitdiff
path: root/cmd/fitupd.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-05-26 19:34:15 +0300
committerTom Rini <trini@konsulko.com>2020-06-03 00:27:04 +0300
commit8e8059ccc55a3725046e628c87450dbc41e1a504 (patch)
treeae5b58a90c63b9a802e13e8759bea3d57ed538e6 /cmd/fitupd.c
parent1e374089bdfb4fd41a34204b53474180e0be0125 (diff)
downloadu-boot-8e8059ccc55a3725046e628c87450dbc41e1a504.tar.xz
cmd: fitupd: move config check to Kconfig
Configuration checks should not be in the C files but in the Kconfig files. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/fitupd.c')
-rw-r--r--cmd/fitupd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/fitupd.c b/cmd/fitupd.c
index f6270d9c15..0f490c58fc 100644
--- a/cmd/fitupd.c
+++ b/cmd/fitupd.c
@@ -8,10 +8,6 @@
#include <command.h>
#include <net.h>
-#if !defined(CONFIG_UPDATE_TFTP)
-#error "CONFIG_UPDATE_TFTP required"
-#endif
-
static int do_fitupd(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{