diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-26 22:27:54 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-30 10:30:06 -0400 |
commit | 218257b01a73b114fa1136f6ee6f25aea80bf113 (patch) | |
tree | 3d021bb446fc89b84c2c2fae480fe679703d43c6 /arch/arm | |
parent | c04b9b3440a2b2c55267bc76c594f49d101657fb (diff) |
Convert CONFIG_CMD_BMODE to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_BMODE
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Make this default y and depend on mx5/6/7]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/imx-common/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index 7ee74d59a85..5eb3ba01416 100644 --- a/arch/arm/imx-common/Kconfig +++ b/arch/arm/imx-common/Kconfig @@ -32,3 +32,17 @@ config SECURE_BOOT help This option enables the support for secure boot (HAB). See doc/README.mxc_hab for more details. + +config CMD_BMODE + bool "Support the 'bmode' command" + default y + depends on ARCH_MX7 || ARCH_MX6 || ARCH_MX5 + help + This enables the 'bmode' (bootmode) command for forcing + a boot from specific media. + + This is useful for forcing the ROM's usb downloader to + activate upon a watchdog reset which is nice when iterating + on U-Boot. Using the reset button or running bmode normal + will set it back to normal. This command currently + supports i.MX53 and i.MX6. |