diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-12-30 02:00:06 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-22 14:11:58 +0900 |
commit | c42ee367fdab51eb9add12e73e8a25306030bd44 (patch) | |
tree | d9d8ba7e55a579b844305c788182a1c6a9367c14 /configs/mx23evk_defconfig | |
parent | 3ab48f62230b6753bf5535655c40e3b975825bd9 (diff) | |
download | u-boot-c42ee367fdab51eb9add12e73e8a25306030bd44.tar.gz u-boot-c42ee367fdab51eb9add12e73e8a25306030bd44.tar.xz u-boot-c42ee367fdab51eb9add12e73e8a25306030bd44.zip |
mmc: do not overwrite cfg->f_max if "max-frequency" if missing
mmc_of_parse() in U-Boot is a pussy helper; it sets cfg->f_max to
52MHz even if DT does not provide "max-frequency" at all. This can
overwrite cfg->f_max that may have been set to a reasonable default.
As the DT binding says, "max-frequency" is an optional property.
Do nothing if DT does not specify it. This is the behavior of
mmc_of_parse() in Linux.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'configs/mx23evk_defconfig')
0 files changed, 0 insertions, 0 deletions