Searched hist:e02d365ad9c4102cadb2d8886e3aed327a7512c9 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/drivers/ |
| H A D | mmc.h | e02d365ad9c4102cadb2d8886e3aed327a7512c9 Fri Apr 04 08:49:58 UTC 2025 Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> 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>
|