]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:57 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 21:44:46 +0000 (17:44 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_THOR_DOWNLOAD

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
30 files changed:
cmd/Kconfig
configs/odroid-xu3_defconfig
configs/odroid_defconfig
configs/origen_defconfig
configs/s5p_goni_defconfig
configs/s5pc210_universal_defconfig
configs/topic_miami_defconfig
configs/topic_miamilite_defconfig
configs/topic_miamiplus_defconfig
configs/trats2_defconfig
configs/trats_defconfig
configs/xilinx_zynqmp_ep_defconfig
configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
configs/xilinx_zynqmp_zcu102_revA_defconfig
configs/xilinx_zynqmp_zcu102_revB_defconfig
configs/zynq_microzed_defconfig
configs/zynq_picozed_defconfig
configs/zynq_z_turn_defconfig
configs/zynq_zc702_defconfig
configs/zynq_zc706_defconfig
configs/zynq_zed_defconfig
configs/zynq_zybo_defconfig
include/configs/exynos4-common.h
include/configs/odroid_xu3.h
include/configs/s5p_goni.h
include/configs/smdkv310.h
include/configs/xilinx_zynqmp.h
include/configs/zynq-common.h
scripts/config_whitelist.txt

index 4d7516eb5567f46ce6be24ba2b0d564e9c1dafb8..3dfc94a1822db3f53aa5d9d9c8474fdbff16bb20 100644 (file)
@@ -304,6 +304,14 @@ config CMD_SPL_WRITE_SIZE
          flash used by Falcon-mode boot. See the documentation until CMD_SPL
          for detail.
 
+config CMD_THOR_DOWNLOAD
+       bool "thor - TIZEN 'thor' download"
+       help
+         Implements the 'thor' download protocol. This is a way of
+         downloading a software update over USB from an attached host.
+         There is no documentation about this within the U-Boot source code
+         but you should be able to find something on the interwebs.
+
 endmenu
 
 menu "Environment commands"
index ffcecd5fd23872ec62546ab275fe3b52d6ce8065..2354a00ad4446c4c754a8582bdf71f58a7c11127 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
index 22e86e28c3c5dcc8aefddc693f88ebf98d956f16..c9e55406eb6f4d9e020323509a282ab3f0c086e8 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Odroid # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
index 573c9e29a70a9774d47aef6ac505f3ba136d6246..0a27833f46a9a6c1a0df7116d140abad91aa4c7f 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="ORIGEN # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
index 0045f5e63e02a51deafffc734a3aa08d5e28e653..8bfab751cbd2462b24a9e561dfcf6240dbadb6ed 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="Goni # "
 # CONFIG_AUTOBOOT is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
index 021e6c5102f70962f342b1fd7980d725c0b4d1cf..cdbf12ceff63247763bfa34f1ca7ef417cbedde3 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Universal # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
index 1873791e7964c424cfee131790646f30db8a4e3d..1bc9e3849e54832d5672ddec8f1cf5fd289b662a 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index db859a7b0bd0a6192b9b8bc9054940a089dc3465..df36b68ba7a99d675860d9beff52a67670e0476f 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index 93e0292bd596834afa80fdd415526100194ecab5..18df89ddd06f85357119d47036b31573e498637d 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index 16ac27fb952e6fec60c3a4df91d8b96261a56e3d..f91ec1d3c356e19e3286a9572ef671fc0103d1bf 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Trats2 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
index 0f2445bdf496ba61b427a665d392a9592ac546e6..3a8f075d7b15cc2796e5c7a882afaf2ece1dbb2b 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Trats # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
index 1d5fd1f64019283f117001a99969a07b4c6548e7..b863c1a3803850c843f9192765de9a0199e0e0fa 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_CONSOLE is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_UNZIP=y
index dacdee35f91c5d20a7bf0fa0aba5043796100db4..cceba36898ca2676ee421fb04f731a8270e43760 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
index 14dc5bac8a62aff01e32ae17ab53c2b6b1cabb62..6b195b7f2b0d06f4ba718de63b214ce5616c9433 100644 (file)
@@ -21,6 +21,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
index c52b583c0fca1285c2ecb803d1edc8468eb909cc..910cd1eb097d4ad74d61ef84448b571d3dbb5fd1 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
index 7ed01165089f1a1978cbc5ab81b487233067ed71..fa60d286e4e8e5050b5299b323fdd23870be9336 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
index ec8eafb4dbd6425f87fc259b62ad94c9922554fd..1eb657569315f11108aa15b76cbba1ada3a50c2a 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index f5155b2678e8fda7eb8e0e1e49c88885a61dc18e..ad6bc0b5bc019840e2b098fe1616ceeb9c15d741 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
index b5509122220632a7275f98259debe7de8bebbf03..505c4de7ca626555b737e30511e1aa4182b58c30 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index b850af923b875c32bec13efc49bb30207060a213..d6a32f93d75b1faf28c7a7dafe66005dcbb593c5 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
index 35722e9952f37166b39d0ae9a2c5444f957abc30..5616549bc01d3b060e6b2baa7f2c08f970187934 100644 (file)
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
index 762d475de64b31011da199556a2da694fb35c2a8..9ebcd4131ff48b72a84fa937b0789fe82d46f00e 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
index 439236139e406d2f3d753bede31fa723d900bcf7..31499a1e92cb7002097fe10965381511c8dcd2f1 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
index 9f0131a7ee91da0fc90c1633426b4eb8dd9eff64..94fd3b36f6236f53d7a213474eb4f0d392b87e56 100644 (file)
@@ -21,7 +21,6 @@
 #define CONFIG_MMC_DEFAULT_DEV 0
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
index 697f8d25826b7f6bbd9eedf77ad74d6fe26c7c62..8bc7fbde9e36ba93c755c10f8d45ffdbc7314a62 100644 (file)
@@ -48,7 +48,6 @@
 #define CONFIG_G_DNL_THOR_VENDOR_NUM   CONFIG_G_DNL_VENDOR_NUM
 #define CONFIG_G_DNL_THOR_PRODUCT_NUM  0x685D
 #define CONFIG_USB_FUNCTION_THOR
-#define CONFIG_CMD_THOR_DOWNLOAD
 
 /* UMS */
 #define CONFIG_G_DNL_UMS_VENDOR_NUM    0x0525
index eb17580865ff60896ffad6f89af9ad8318988894..01655ee1ed46a941c3e5ae4a9756880f271ab1df 100644 (file)
@@ -56,7 +56,6 @@
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 /* USB Samsung's IDs */
index 9986a3b707d9d9406a95d6b5bcc32c5bc14b90b0..96048f5d40b26fff2a28a6602c910d15b1ce77d4 100644 (file)
@@ -15,7 +15,6 @@
 #undef CONFIG_USB_GADGET_DWC2_OTG
 #undef CONFIG_USB_GADGET_DWC2_OTG_PHY
 #undef CONFIG_REVISION_TAG
-#undef CONFIG_CMD_THOR_DOWNLOAD
 
 /* High Level Configuration Options */
 #define CONFIG_EXYNOS4210              1       /* which is a EXYNOS4210 SoC */
index 77d7899deff42ed387eb88de0b717ade80e6d3c5..6dcc8e59d80d3e9e0a81ae80b40cb84bc6a2da3d 100644 (file)
@@ -89,7 +89,6 @@
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE   0x1800000
 #define DFU_DEFAULT_POLL_TIMEOUT       300
 #define CONFIG_USB_CABLE_CHECK
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 #define CONFIG_THOR_RESET_OFF
 #define DFU_ALT_INFO_RAM \
index 35e5c1e64f652732c93c99fa6010fe3987bbc1b2..66bc508b9de5f14b99704d06f27c19c529d309bf 100644 (file)
@@ -91,7 +91,6 @@
 # define CONFIG_SYS_DFU_DATA_BUF_SIZE  0x600000
 # define DFU_DEFAULT_POLL_TIMEOUT      300
 # define CONFIG_USB_CABLE_CHECK
-# define CONFIG_CMD_THOR_DOWNLOAD
 # define CONFIG_THOR_RESET_OFF
 # define CONFIG_USB_FUNCTION_THOR
 # define DFU_ALT_INFO_RAM \
index 1881fff3496111613c747ed67c2f17f20284ec95..0621e7b0010b9c2867f8178ccda8191b542e9532 100644 (file)
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE