Masahiro Yamada
c42ee367fd
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 >
2018-01-22 14:11:58 +09:00
..
2017-10-04 11:59:44 -04:00
2017-12-12 18:16:06 -05:00
2017-10-04 10:31:17 -04:00
2017-12-12 19:53:45 -07:00
2017-11-20 09:58:31 +01:00
2018-01-19 17:59:35 +03:00
2018-01-22 14:11:58 +09:00
2017-06-01 07:03:08 -06:00
2018-01-08 08:26:03 -05:00
2018-01-19 16:30:29 +01:00
2017-10-04 11:59:44 -04:00
2018-01-19 15:49:25 -05:00
2017-12-04 10:23:53 -05:00
2017-12-14 16:09:39 +01:00
2018-01-19 15:49:29 -05:00
2018-01-16 06:59:39 +01:00
2017-08-16 08:30:24 -04:00
2017-06-01 07:03:08 -06:00
2017-06-01 07:03:15 -06:00
2018-01-12 14:28:04 +01:00
2018-01-22 14:11:58 +09:00
2018-01-08 17:37:12 +01:00
2018-01-15 12:05:27 -06:00
2017-09-03 15:30:34 -04:00
2018-01-12 14:28:04 +01:00
2017-08-11 15:41:51 -04:00
2017-11-06 09:51:01 -05:00
2018-01-10 08:05:57 -05:00
2018-01-13 00:07:57 +09:00
2017-11-20 09:58:31 +01:00
2017-09-15 08:05:10 -04:00
2018-01-10 08:05:47 -05:00
2018-01-09 11:13:32 +01:00
2017-11-20 09:58:31 +01:00
2017-09-11 21:43:58 -06:00
2018-01-19 15:49:32 -05:00
2017-06-01 07:03:10 -06:00
2018-01-12 14:28:04 +01:00
2018-01-15 11:35:37 -05:00
2018-01-15 16:29:03 -05:00
2017-11-21 08:03:38 -05:00
2017-11-30 09:39:31 +08:00
2017-11-06 09:51:01 -05:00
2018-01-10 11:11:05 +01:00
2018-01-11 15:19:12 +01:00
2017-08-13 15:17:34 -04:00
2017-11-20 09:58:31 +01:00
2017-11-21 08:03:38 -05:00