aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/sdhci-test.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-10-04 09:38:06 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-10-06 10:33:43 +0200
commitb4d3a83b89fba814613f7ead6b6ea92e0b2c3cd8 (patch)
tree7dd35771fa3a0e8422a7976f5354c5e8d01331ec /tests/qtest/sdhci-test.c
parent9d35c6ade54c05754a1cac99df5c9a8ce6252bbe (diff)
mac_via: extend timer calibration hack to work with A/UX
The A/UX timer calibration loop runs continuously until 2 consecutive iterations differ by at least 0x492 timer ticks. Modern hosts execute the timer calibration loop so fast that this situation never occurs causing a hang on boot. Use a similar method to Shoebill which is to randomly add 0x500 to the T2 counter value during calibration to enable it to eventually succeed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-ID: <20231004083806.757242-21-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tests/qtest/sdhci-test.c')
0 files changed, 0 insertions, 0 deletions