[PATCH] config: Enable the config CONFIG_MMC_SPEED_MODE_SET
Michal Simek
michal.simek at amd.com
Thu Jul 11 13:33:59 CEST 2024
On 7/8/24 11:17, Venkatesh Yadav Abbarapu wrote:
> Enable setting speed mode using mmc dev commands.
> The speed mode is provided as the last argument in these commands
> (ex: mmc dev 0 0 10) and is indicated using the index from enum
> bus_mode in include/mmc.h. A speed mode can be set if it is enabled
> from device tree or from capabilities register
>
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> ---
> configs/amd_versal2_virt_defconfig | 1 +
> configs/xilinx_versal_net_virt_defconfig | 1 +
> configs/xilinx_versal_virt_defconfig | 1 +
> configs/xilinx_zynq_virt_defconfig | 2 +-
> configs/xilinx_zynqmp_virt_defconfig | 1 +
> 5 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_defconfig
> index 2d611f84cd..f8df0b53e5 100644
> --- a/configs/amd_versal2_virt_defconfig
> +++ b/configs/amd_versal2_virt_defconfig
> @@ -59,6 +59,7 @@ CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_SQUASHFS=y
> CONFIG_CMD_MTDPARTS=y
> CONFIG_CMD_UBI=y
> +CONFIG_MMC_SPEED_MODE_SET=y
> CONFIG_PARTITION_TYPE_GUID=y
> CONFIG_OF_BOARD=y
> CONFIG_DTB_RESELECT=y
> diff --git a/configs/xilinx_versal_net_virt_defconfig b/configs/xilinx_versal_net_virt_defconfig
> index 53ef81e64d..40a9b16b9c 100644
> --- a/configs/xilinx_versal_net_virt_defconfig
> +++ b/configs/xilinx_versal_net_virt_defconfig
> @@ -58,6 +58,7 @@ CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_SQUASHFS=y
> CONFIG_CMD_MTDPARTS=y
> CONFIG_CMD_UBI=y
> +CONFIG_MMC_SPEED_MODE_SET=y
> CONFIG_PARTITION_TYPE_GUID=y
> CONFIG_OF_BOARD=y
> CONFIG_DTB_RESELECT=y
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index 915f0b993c..dc1754f6d1 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -59,6 +59,7 @@ CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_SQUASHFS=y
> CONFIG_CMD_MTDPARTS=y
> CONFIG_CMD_UBI=y
> +CONFIG_MMC_SPEED_MODE_SET=y
> CONFIG_PARTITION_TYPE_GUID=y
> CONFIG_OF_BOARD=y
> CONFIG_ENV_IS_NOWHERE=y
> diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig
> index 9be904fd30..f8b6a3f1aa 100644
> --- a/configs/xilinx_zynq_virt_defconfig
> +++ b/configs/xilinx_zynq_virt_defconfig
> @@ -81,6 +81,7 @@ CONFIG_CMD_MTDPARTS=y
> CONFIG_CMD_MTDPARTS_SPREAD=y
> CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
> CONFIG_CMD_UBI=y
> +CONFIG_MMC_SPEED_MODE_SET=y
> CONFIG_OF_BOARD=y
> CONFIG_OF_LIST="zynq-zc702 zynq-zc706 zynq-zc770-xm010 zynq-zc770-xm011 zynq-zc770-xm011-x16 zynq-zc770-xm012 zynq-zc770-xm013 zynq-cc108 zynq-microzed zynq-minized zynq-picozed zynq-zed zynq-zturn zynq-zturn-v5 zynq-zybo zynq-zybo-z7 zynq-dlc20-rev1.0"
> CONFIG_ENV_IS_NOWHERE=y
> @@ -155,4 +156,3 @@ CONFIG_SYS_TIMER_COUNTS_DOWN=y
> CONFIG_SPL_GZIP=y
> CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
> CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
> -CONFIG_TOOLS_MKEFICAPSULE=y
> diff --git a/configs/xilinx_zynqmp_virt_defconfig b/configs/xilinx_zynqmp_virt_defconfig
> index fa912ae3bb..1133134e3f 100644
> --- a/configs/xilinx_zynqmp_virt_defconfig
> +++ b/configs/xilinx_zynqmp_virt_defconfig
> @@ -101,6 +101,7 @@ CONFIG_CMD_MTDPARTS=y
> CONFIG_CMD_MTDPARTS_SPREAD=y
> CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES=y
> CONFIG_CMD_UBI=y
> +CONFIG_MMC_SPEED_MODE_SET=y
> CONFIG_PARTITION_TYPE_GUID=y
> CONFIG_SPL_OF_CONTROL=y
> CONFIG_OF_BOARD=y
Applied.
M
More information about the U-Boot
mailing list