Convert CONFIG_THOR_RESET_OFF to Kconfig

This converts the following to Kconfig:
   CONFIG_THOR_RESET_OFF

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-02 16:42:46 -05:00
parent d14f3f2725
commit 60910a3f02
10 changed files with 9 additions and 4 deletions

View File

@ -526,6 +526,10 @@ config CMD_THOR_DOWNLOAD
There is no documentation about this within the U-Boot source code There is no documentation about this within the U-Boot source code
but you should be able to find something on the interwebs. but you should be able to find something on the interwebs.
config THOR_RESET_OFF
bool "thor: Disable reset on completion"
depends on CMD_THOR_DOWNLOAD
config CMD_ZBOOT config CMD_ZBOOT
bool "zboot - x86 boot command" bool "zboot - x86 boot command"
help help

View File

@ -40,6 +40,7 @@ CONFIG_SYS_MAXARGS=32
CONFIG_SYS_PBSIZE=2077 CONFIG_SYS_PBSIZE=2077
CONFIG_SYS_BOOTM_LEN=0x3c00000 CONFIG_SYS_BOOTM_LEN=0x3c00000
CONFIG_CMD_THOR_DOWNLOAD=y CONFIG_CMD_THOR_DOWNLOAD=y
CONFIG_THOR_RESET_OFF=y
CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMTEST=y
CONFIG_CMD_DFU=y CONFIG_CMD_DFU=y
CONFIG_CMD_I2C=y CONFIG_CMD_I2C=y

View File

@ -40,6 +40,7 @@ CONFIG_SYS_MAXARGS=32
CONFIG_SYS_PBSIZE=2077 CONFIG_SYS_PBSIZE=2077
CONFIG_SYS_BOOTM_LEN=0x3c00000 CONFIG_SYS_BOOTM_LEN=0x3c00000
CONFIG_CMD_THOR_DOWNLOAD=y CONFIG_CMD_THOR_DOWNLOAD=y
CONFIG_THOR_RESET_OFF=y
CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMTEST=y
CONFIG_CMD_DFU=y CONFIG_CMD_DFU=y
CONFIG_CMD_I2C=y CONFIG_CMD_I2C=y

View File

@ -40,6 +40,7 @@ CONFIG_SYS_MAXARGS=32
CONFIG_SYS_PBSIZE=2077 CONFIG_SYS_PBSIZE=2077
CONFIG_SYS_BOOTM_LEN=0x3c00000 CONFIG_SYS_BOOTM_LEN=0x3c00000
CONFIG_CMD_THOR_DOWNLOAD=y CONFIG_CMD_THOR_DOWNLOAD=y
CONFIG_THOR_RESET_OFF=y
CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMTEST=y
CONFIG_CMD_DFU=y CONFIG_CMD_DFU=y
CONFIG_CMD_I2C=y CONFIG_CMD_I2C=y

View File

@ -51,6 +51,7 @@ CONFIG_SYS_PBSIZE=2071
CONFIG_SYS_BOOTM_LEN=0x3c00000 CONFIG_SYS_BOOTM_LEN=0x3c00000
CONFIG_CMD_IMLS=y CONFIG_CMD_IMLS=y
CONFIG_CMD_THOR_DOWNLOAD=y CONFIG_CMD_THOR_DOWNLOAD=y
CONFIG_THOR_RESET_OFF=y
CONFIG_CMD_GREPENV=y CONFIG_CMD_GREPENV=y
CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMTEST=y
CONFIG_SYS_ALT_MEMTEST=y CONFIG_SYS_ALT_MEMTEST=y

View File

@ -55,6 +55,7 @@ CONFIG_SYS_PBSIZE=2073
CONFIG_SYS_BOOTM_LEN=0x6400000 CONFIG_SYS_BOOTM_LEN=0x6400000
CONFIG_CMD_BOOTMENU=y CONFIG_CMD_BOOTMENU=y
CONFIG_CMD_THOR_DOWNLOAD=y CONFIG_CMD_THOR_DOWNLOAD=y
CONFIG_THOR_RESET_OFF=y
CONFIG_CMD_GREPENV=y CONFIG_CMD_GREPENV=y
CONFIG_CMD_NVEDIT_EFI=y CONFIG_CMD_NVEDIT_EFI=y
CONFIG_CMD_MEMTEST=y CONFIG_CMD_MEMTEST=y

View File

@ -25,7 +25,6 @@
#if defined(CONFIG_CMD_DFU) #if defined(CONFIG_CMD_DFU)
#define DFU_DEFAULT_POLL_TIMEOUT 300 #define DFU_DEFAULT_POLL_TIMEOUT 300
#define CONFIG_THOR_RESET_OFF
#endif #endif
/* Ethernet driver */ /* Ethernet driver */

View File

@ -25,7 +25,6 @@
#if defined(CONFIG_CMD_DFU) #if defined(CONFIG_CMD_DFU)
#define DFU_DEFAULT_POLL_TIMEOUT 300 #define DFU_DEFAULT_POLL_TIMEOUT 300
#define CONFIG_THOR_RESET_OFF
#define DFU_ALT_INFO_RAM \ #define DFU_ALT_INFO_RAM \
"dfu_ram_info=" \ "dfu_ram_info=" \
"setenv dfu_alt_info " \ "setenv dfu_alt_info " \

View File

@ -31,7 +31,6 @@
#if defined(CONFIG_ZYNQMP_USB) #if defined(CONFIG_ZYNQMP_USB)
#define DFU_DEFAULT_POLL_TIMEOUT 300 #define DFU_DEFAULT_POLL_TIMEOUT 300
#define CONFIG_THOR_RESET_OFF
# define PARTS_DEFAULT \ # define PARTS_DEFAULT \
"partitions=uuid_disk=${uuid_gpt_disk};" \ "partitions=uuid_disk=${uuid_gpt_disk};" \

View File

@ -38,7 +38,6 @@
#ifdef CONFIG_USB_EHCI_ZYNQ #ifdef CONFIG_USB_EHCI_ZYNQ
# define DFU_DEFAULT_POLL_TIMEOUT 300 # define DFU_DEFAULT_POLL_TIMEOUT 300
# define CONFIG_THOR_RESET_OFF
#endif #endif
/* enable preboot to be loaded before CONFIG_BOOTDELAY */ /* enable preboot to be loaded before CONFIG_BOOTDELAY */