mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
191575eac1
- Change the board's sd-card speed configuration to just specify the wanted frequency - Calculate the proper divisors in the driver - If the sd card frequency exceeds 25 MHz, set the card to high-speed mode This makes it easier to adjust the operating speed of the sd cards and fixes an error where cards are being operated in standard mode at over 25MHz speeds. If the speed is higher than 25MHz, the card needs to be set into high-speed mode. Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>