commit | e02d365ad9c4102cadb2d8886e3aed327a7512c9 | [log] [tgz] |
---|---|---|
author | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Fri Apr 04 11:49:58 2025 +0300 |
committer | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Fri Apr 11 14:00:31 2025 +0300 |
tree | df972b3985b52d5a74b7943e726d118b8195d6d5 | |
parent | 90a701a967a1e3c4ce3b0a5ecafc15baa52e1436 [diff] |
fix(mmc): fix the length of the ocr defines All OCR_* macros use the BIT and GENMASK macros, which generate uint64_t types. However, the 'ocr_voltage' member in 'struct mmc_device_info' is of type unsigned int. Therefore, the BIT_32 and GENMASK_32 macros should be used instead. Additionally, JEDEC specifies that the length of the OCR register is 32 bits. Change-Id: I56eb1e60c7d514038b647bce498d0c10929d6b8d Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>