On Mon, May 05, 2025 at 02:06:31PM +0200, Ahmad Fatoum wrote: > The eSDHC implementation differs from the spec sufficiently to break the > generic SDHCI tuning support. Linux works around this by intercepting > some particular register reads and faking the content. > > Let's begrudgingly do the same for barebox. > > Mildly interesting statistic: As of Linux v6.12, the generic SDHCI driver > defines 52 quirk bits and 32 callbacks to handle differences.
Nah, it's not that bad. BIT(31) in quirks is unused, so it's only 51 quirk bits ;) Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |