X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=common%2FKconfig;h=d5bc37e4c7ba0a21f584a7c00773fc86d3f30667;hb=3d409153502f25a1ea3b8b4e9940148b7871273d;hp=21e067c8582035fa96899eaa868a791479f0ef5c;hpb=a3f77c810b1a57853e4d5fee3014ac8cbbd03a9a;p=people%2Fms%2Fu-boot.git diff --git a/common/Kconfig b/common/Kconfig index 21e067c858..d5bc37e4c7 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -504,6 +504,19 @@ config LOG_TEST in various different ways to test that the logging system works correctly with varoius settings. +config LOG_ERROR_RETURN + bool "Log all functions which return an error" + depends on LOG + help + When an error is returned in U-Boot it is sometimes difficult to + figure out the root cause. For eaxmple, reading from SPI flash may + fail due to a problem in the SPI controller or due to the flash part + not returning the expected information. This option changes + log_ret() to log any errors it sees. With this option disabled, + log_ret() is a nop. + + You can add log_ret() to all functions which return an error code. + endmenu config DEFAULT_FDT_FILE @@ -588,4 +601,25 @@ config HASH endmenu +menu "Update support" + +config UPDATE_TFTP + bool "Auto-update using fitImage via TFTP" + depends on FIT + help + This option allows performing update of NOR with data in fitImage + sent via TFTP boot. + +config UPDATE_TFTP_CNT_MAX + int "The number of connection retries during auto-update" + default 0 + depends on UPDATE_TFTP + +config UPDATE_TFTP_MSEC_MAX + int "Delay in mSec to wait for the TFTP server during auto-update" + default 100 + depends on UPDATE_TFTP + +endmenu + source "common/spl/Kconfig"