]> git.baikalelectronics.ru Git - uboot.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)
commit551a872bcaf7a2ab80296ee08ceeaf3852ca5ad9
tree949245bacede80711900e22a15c93e0ca8f59768
parent8b14c8c2c4d40c0b0fb6f6017cfe145a16de4503
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