opnsense-src/sys/dev/mmc
Jessica Clarke 4a331971d2 mmc: Fix regression in 8a8166e5bc breaking Stratix 10 boot
The refactoring in 8a8166e5bc introduced a functional change that
breaks booting on the Stratix 10, hanging when it should be attaching
da0. Previously OF_getencprop was called with a pointer to host->f_max,
so if it wasn't present then the existing value was left untouched, but
after that commit it will instead clobber the value with 0. The dwmmc
driver, as used on the Stratix 10, sets a default value before calling
mmc_fdt_parse and so was broken by this functional change. It appears
that aw_mmc also does the same thing, so was presumably also broken on
some boards.

Fixes:	8a8166e5bc ("mmc: switch mmc_helper to device_ api")
Reviewed by:	manu, mw
Differential Revision:	https://reviews.freebsd.org/D32209
2021-09-29 13:59:13 +01:00
..
host dwmmc: Remove dwmmc_setup_bus call from start_cmd 2021-09-21 18:17:20 +02:00
bridge.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc.c mmc: fix 1-byte reallocs (when it should have been sizeof device_t) 2021-09-25 14:58:31 +00:00
mmc_fdt_helpers.c mmc: switch mmc_helper to device_ api 2021-09-20 17:18:02 +02:00
mmc_fdt_helpers.h mmc: switch mmc_helper to device_ api 2021-09-20 17:18:02 +02:00
mmc_helpers.c mmc: Fix regression in 8a8166e5bc breaking Stratix 10 boot 2021-09-29 13:59:13 +01:00
mmc_helpers.h mmc: switch mmc_helper to device_ api 2021-09-20 17:18:02 +02:00
mmc_ioctl.h o Add support for eMMC HS200 and HS400 bus speed modes at 200 MHz to 2017-07-23 16:11:47 +00:00
mmc_private.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmc_pwrseq.c mmc: Add mmc-pwrseq driver 2021-05-21 17:36:20 +02:00
mmc_pwrseq_if.m mmc: Add mmc-pwrseq driver 2021-05-21 17:36:20 +02:00
mmc_subr.c mmc: ignore CRC errors from CMD13 (status) when changing rates 2021-06-02 19:46:23 -06:00
mmc_subr.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbr_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbrvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcbus_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcreg.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
mmcsd.c mmcsd(4): properly set BIO error when partition switching fails 2021-01-22 00:18:40 +01:00
mmcvar.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00