i.MX: esdhc: Do not rely on CPU type for quirks
CPU type is not a reliable indicator of the underlying type of IP core
used, since there's no 1:1 mapping between the two. As example of one
such violation consider Vybrid SoC which contains IP block from i.MX53.

Instead port feature flags from corresponding Linux kernel driver and
use the ones that are relevant.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4ed5b77 commit 39f7a7ee8b68299e50bbfd4a68f392379b2e98df
@Andrey Smirnov Andrey Smirnov authored on 9 Nov 2016
Sascha Hauer committed on 11 Jan 2017
Showing 1 changed file
View
drivers/mci/imx-esdhc.c