Skip to content
Commit b2172a97 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

sd: clean up sizes of some SD data fields



Clean up sizes of some SD data fields, as the max value of these fields
is limited by the SD specification

Specifically, the limits are as follows:
num_io: 0-7, 3 bits (SDIO only)
relative_addr: 16 bits (SDMMC/MMC)
block_size: 12 bits (Max of 2KB, uint16_t used)
sd_version: 8 bits (currently at version 3)
card_speed: 8 bits (could potentially be reduced in size)

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 0afe4bb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment