mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-26 07:17:10 +00:00
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>
This commit is contained in:
parent
1e374089bd
commit
8e8059ccc5
2 changed files with 1 additions and 4 deletions
|
@ -491,6 +491,7 @@ config CMD_SPL_WRITE_SIZE
|
|||
|
||||
config CMD_FITUPD
|
||||
bool "fitImage update command"
|
||||
depends on UPDATE_TFTP
|
||||
help
|
||||
Implements the 'fitupd' command, which allows to automatically
|
||||
store software updates present on a TFTP server in NOR Flash
|
||||
|
|
|
@ -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[])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue