[U-Boot] [UBOOT PATCH 2/2] mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ

Michal Simek michal.simek at xilinx.com
Mon Feb 26 10:23:23 UTC 2018


On 23.2.2018 11:48, Jaehoon Chung wrote:
> Hi,
> 
> On 02/22/2018 09:17 PM, Vipul Kumar wrote:
>> This patch added Kconfig support for CONFIG_ZYNQ_SDHCI_MIN_FREQ
>> and enabled it in respective defconfig.
>>
>> Signed-off-by: Vipul Kumar <vipulk at xilinx.com>
>> Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
>> ---
>>  configs/xilinx_zynqmp_ep_defconfig | 1 +
>>  drivers/mmc/Kconfig                | 7 +++++++
>>  drivers/mmc/zynq_sdhci.c           | 4 ----
>>  include/configs/xilinx_zynqmp_ep.h | 1 -
>>  4 files changed, 8 insertions(+), 5 deletions(-)
>>
>> diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig
>> index 00db5e3..4de1ac1 100644
>> --- a/configs/xilinx_zynqmp_ep_defconfig
>> +++ b/configs/xilinx_zynqmp_ep_defconfig
>> @@ -62,6 +62,7 @@ CONFIG_MISC=y
>>  CONFIG_DM_MMC=y
>>  CONFIG_MMC_SDHCI=y
>>  CONFIG_MMC_SDHCI_ZYNQ=y
>> +CONFIG_ZYNQ_SDHCI_MIN_FREQ=101562
> 
> It seems that 101562 is the shifted value.
> If ZYNQ_SDHCI_MIN_REQ is set to 100KHz, what happen?

Vipul: Please test it but I think 100kHz should just work without any issue.

M


More information about the U-Boot mailing list