]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/sd/sdhci: Set reset value of interrupt registers
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 10 Feb 2025 16:03:29 +0000 (17:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 11 Mar 2025 19:00:16 +0000 (20:00 +0100)
commitd060b2789f71e8cd1d07c4374e0c96c299423952
treea98e43783a66793a367b0bfbde7519fc35f3c939
parent825b96dbcee23d134b691fc75618b59c5f53da32
hw/sd/sdhci: Set reset value of interrupt registers

The interrupt enable registers are not reset to 0 on Freescale eSDHC
but some bits are enabled on reset. At least some U-Boot versions seem
to expect this and not initialise these registers before expecting
interrupts. Use existing vendor property for Freescale eSDHC and set
the reset value of the interrupt registers to match Freescale
documentation.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-ID: <20250210160329.DDA7F4E600E@zero.eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ppc/e500.c
hw/sd/sdhci.c
include/hw/sd/sdhci.h