* [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands
@ 2020-03-31 17:39 ` Heinrich Schuchardt
2020-04-01 1:04 ` Peng Fan
2020-04-02 6:03 ` Jaehoon Chung
0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-03-31 17:39 UTC (permalink / raw)
To: u-boot
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>
---
cmd/Kconfig | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6403bc45a5..22ba385141 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1052,21 +1052,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
@@ -1599,15 +1612,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
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands
2020-03-31 17:39 ` [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands Heinrich Schuchardt
@ 2020-04-01 1:04 ` Peng Fan
2020-04-02 6:03 ` Jaehoon Chung
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2020-04-01 1:04 UTC (permalink / raw)
To: u-boot
> Subject: [PATCH 1/1] 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>
> ---
> cmd/Kconfig | 26 +++++++++++++++-----------
> 1 file changed, 15 insertions(+), 11 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 6403bc45a5..22ba385141 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1052,21 +1052,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
> @@ -1599,15 +1612,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
Reviewed-by: Peng Fan <peng.fan@nxp.com>
> --
> 2.20.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands
2020-03-31 17:39 ` [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands Heinrich Schuchardt
2020-04-01 1:04 ` Peng Fan
@ 2020-04-02 6:03 ` Jaehoon Chung
1 sibling, 0 replies; 3+ messages in thread
From: Jaehoon Chung @ 2020-04-02 6:03 UTC (permalink / raw)
To: u-boot
On 4/1/20 2:39 AM, Heinrich Schuchardt wrote:
> 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: Jaehoon Chung <jh80.chung@samsung.com>
Best Regards,
Jaehoon Chung
> ---
> cmd/Kconfig | 26 +++++++++++++++-----------
> 1 file changed, 15 insertions(+), 11 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 6403bc45a5..22ba385141 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1052,21 +1052,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
> @@ -1599,15 +1612,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
> --
> 2.20.1
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-02 6:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20200331174003epcas1p31767615576db88f72cd8fac7b29d5f4c@epcas1p3.samsung.com>
2020-03-31 17:39 ` [PATCH 1/1] mmc: adjust Kconfig for mmc sub-commands Heinrich Schuchardt
2020-04-01 1:04 ` Peng Fan
2020-04-02 6:03 ` Jaehoon Chung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.