]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: xenon_sdhci: Add missing common host capabilities
authorAndre Heider <a.heider@gmail.com>
Thu, 10 Sep 2020 17:53:40 +0000 (19:53 +0200)
committerPeng Fan <peng.fan@nxp.com>
Tue, 15 Sep 2020 02:15:56 +0000 (10:15 +0800)
commite79c59c0e293c49d52704fdc5ca1b6896eced2d9
treef4c3b788b21c9d088fb4f4c70246832dfa70f6e8
parent8505147403584f322bf1cb66b1c796bc11f29ad4
mmc: xenon_sdhci: Add missing common host capabilities

Use mmc_of_parse() to set the common host properties. That includes
"bus-width", so parsing it can be removed from the driver.

But more importantly, "non-removable" is now respected, which fixes
the usage of eMMC.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Reviewed-by: Konstantin Porotchkin <kostap@marvell.com>
Tested-by: Marek BehĂșn <marek.behun@nic.cz>
drivers/mmc/xenon_sdhci.c