Files
u-boot/drivers
Stephan Gerhold 4daf2ec357 mmc: arm_pl180_mmci: Simplify code using mmc_of_parse()
Simplify the code a bit by using the common mmc_of_parse() function
instead of duplicating the device tree parsing code. We can still get
a default value for cfg->f_max by assigning it before calling
mmc_of_parse().

Another advantage of this refactoring is that we parse more properties
now, e.g. "non-removable" can be used to disable CD entirely.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com> on stm32f769-disco
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2021-07-30 17:13:02 +08:00
..
2021-07-21 10:27:35 -06:00
2021-07-07 19:52:24 -04:00
2021-06-18 10:09:41 +02:00
2021-07-28 14:29:36 -04:00
2021-07-28 14:29:37 -04:00
2021-07-18 21:06:08 -04:00
2021-07-28 14:29:36 -04:00
2021-07-28 14:29:36 -04:00
2021-04-10 08:04:42 -04:00