mmc: arm_pl180_mmci: Add configuration for ST-Ericsson Ux500v2
authorStephan Gerhold <stephan@gerhold.net>
Tue, 6 Jul 2021 14:54:36 +0000 (16:54 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 30 Jul 2021 09:13:03 +0000 (17:13 +0800)
commitd890f23406c00e3af5c63d76a9991e2e79d84096
treefe8303f6cc9062854247f06e2ee08ad40832d82b
parent4daf2ec357c1c22ec0dc8db206add877f6632bc8
mmc: arm_pl180_mmci: Add configuration for ST-Ericsson Ux500v2

For the eMMC on ST-Ericsson Ux500v2 we need slightly different
configuration values. Use the existing switch statement to match
the peripheral ID of Ux500v2 (0x10480180) and override the necessary
values to make the eMMC work on devices with ST-Ericsson Ux500.

Cc: Linus Walleij <linus.walleij@linaro.org>
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>
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/arm_pl180_mmci.h