diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-03-31 17:39:28 +0000 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-04-22 20:41:56 +0800 |
commit | 453d21381bda4452937a6d3c648230805b528b9b (patch) | |
tree | 262d818b518ce101fb3c971bc06a2603d382586a | |
parent | 29617ca39a087a3c78a2ea2515090b4aa24ad014 (diff) | |
download | u-boot-453d21381bda4452937a6d3c648230805b528b9b.tar.gz u-boot-453d21381bda4452937a6d3c648230805b528b9b.tar.bz2 u-boot-453d21381bda4452937a6d3c648230805b528b9b.zip |
mmc: adjust Kconfig for mmc sub-commands
All sub-commands of the mmc command should be shown in the Kconfig menu
next to the mmc command. This includes:
* mmc bkops
* mmc rpmb
* mmc swrite
The mmc rpmb sub-command is not usable without CONFIG_SUPPORT_EMMC_RPMB.
Add the missing dependency.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | cmd/Kconfig | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index faa133da65..b81400c6ba 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1053,21 +1053,34 @@ config CMD_MMC help MMC memory mapped support. +if CMD_MMC + +config CMD_BKOPS_ENABLE + bool "mmc bkops enable" + depends on CMD_MMC + default n + help + Enable command for setting manual background operations handshake + on a eMMC device. The feature is optionally available on eMMC devices + conforming to standard >= 4.41. + config CMD_MMC_RPMB bool "Enable support for RPMB in the mmc command" - depends on CMD_MMC + depends on SUPPORT_EMMC_RPMB help Enable the commands for reading, writing and programming the key for the Replay Protection Memory Block partition in eMMC. config CMD_MMC_SWRITE bool "mmc swrite" - depends on CMD_MMC && MMC_WRITE + depends on MMC_WRITE select IMAGE_SPARSE help Enable support for the "mmc swrite" command to write Android sparse images to eMMC. +endif + config CMD_MTD bool "mtd" depends on MTD @@ -1600,15 +1613,6 @@ config CMD_BSP option provides a way to control this. The commands that are enabled vary depending on the board. -config CMD_BKOPS_ENABLE - bool "mmc bkops enable" - depends on CMD_MMC - default n - help - Enable command for setting manual background operations handshake - on a eMMC device. The feature is optionally available on eMMC devices - conforming to standard >= 4.41. - config CMD_BLOCK_CACHE bool "blkcache - control and stats for block cache" depends on BLOCK_CACHE |