summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-06-03 11:44:12 -0400
committerTom Rini <trini@konsulko.com>2020-06-03 11:44:12 -0400
commit49c8c91cc69546f7a2017bc0943ef1225a01c72c (patch)
treef91b7127c7f7c9798f511e786d0b6a3116d79f53 /cmd
parentecd4d99f654f3f7bfb96001891d69c3125e70b69 (diff)
parent9f8aa0fbee40b66ceeaab06d3a0ce9a7a7d692a7 (diff)
Merge branch '2020-06-03-misc-bugfixes'
- Update various docs to not have 'ARCH=' in them as that's not part of how U-Boot builds. - Add macOS tools-only build to Azure to help catch problems on BSD hosts with tools. - Bugfixes from the latest header cleanup around ARCH_DMA_MINALIGN - Assorted small Kconfig logic/typo corrections - Add a default hash to FIT images that have their its auto generated. - Other assorted fixes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
-rw-r--r--cmd/fitupd.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 153864c5876..192b3b262f1 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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
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 <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[])
{