From 8e8059ccc55a3725046e628c87450dbc41e1a504 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 26 May 2020 18:34:15 +0200 Subject: 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 Reviewed-by: Tom Rini --- cmd/fitupd.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/fitupd.c') diff --git a/cmd/fitupd.c b/cmd/fitupd.c index f6270d9c15b..0f490c58fc8 100644 --- a/cmd/fitupd.c +++ b/cmd/fitupd.c @@ -8,10 +8,6 @@ #include #include -#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[]) { -- cgit v1.2.3