mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 14:04:39 +08:00
The eMMC ABR enable state is currently controlled by the "emmc-abr" machine property instead of the OTP configuration. Add helpers to read the OTP configuration and resolve strap values. Use the ABR strap value to update ABR_EN when R_STATUS is read. Remove the "emmc-abr" property as the ABR state is now derived from OTP. Signed-off-by: Kane-Chen-AS <kane_chen@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260918065347.3713868-3-kane_chen@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>