]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: clearfog: Detect MMC vs SDHC and fixup fdt
authorMartin Rowe <martin.p.rowe@gmail.com>
Mon, 27 Mar 2023 11:24:09 +0000 (21:24 +1000)
committerStefan Roese <sr@denx.de>
Thu, 30 Mar 2023 05:05:20 +0000 (07:05 +0200)
commitc733fe91e4e643e69615521debaf70e5c52f9352
tree949245bacede80711900e22a15c93e0ca8f59768
parent3f92f4865bf7e3dfea4008246bbb02416a0f4cd2
arm: mvebu: clearfog: Detect MMC vs SDHC and fixup fdt

[upstream of vendor commit 19a96f7c40a8fc1d0a6546ac2418d966e5840a99]

The Clearfog devices have only one SDHC device. This is either eMMC if
it is populated on the SOM or SDHC if not. The Linux device tree assumes
the SDHC case. Detect if the device is an eMMC and fixup the device-tree
so it will be detected by Linux.

Ported from vendor repo at https://github.com/SolidRun/u-boot

Signed-off-by: Martin Rowe <martin.p.rowe@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
board/solidrun/clearfog/clearfog.c