commit | 191cd13c8fd8601a19426e11b150057fdf9430b5 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Sat Dec 30 02:00:06 2017 +0900 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Mon Jan 22 14:11:58 2018 +0900 |
tree | d9d8ba7e55a579b844305c788182a1c6a9367c14 | |
parent | 71d115f7b52ab5016a6a6334ff35b1e69d45ea52 [diff] |
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>