aboutsummaryrefslogtreecommitdiff
path: root/drivers/bios_emulator
diff options
context:
space:
mode:
authorStephan Gerhold2021-07-06 16:54:35 +0200
committerPeng Fan2021-07-30 17:13:02 +0800
commit4daf2ec357c1c22ec0dc8db206add877f6632bc8 (patch)
treec2cdc83c17192f6122c94f229c799166e9a124f1 /drivers/bios_emulator
parent19e1da0c66454bd6206a4badfdc0077d7fd76aed (diff)
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>
Diffstat (limited to 'drivers/bios_emulator')
0 files changed, 0 insertions, 0 deletions