Searched hist:f462c1249ac41f43423011bb12ace38cbeb0af4c (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/include/drivers/ |
| H A D | mmc.h | f462c1249ac41f43423011bb12ace38cbeb0af4c Thu Sep 01 17:23:39 UTC 2022 Yann Gautier <yann.gautier@st.com> feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boot_part_size() to get this eMMC boot partition size.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0e8e0fc9632f147fa1b1b3374accb78439025403
|
| /rk3399_ARM-atf/drivers/mmc/ |
| H A D | mmc.c | f462c1249ac41f43423011bb12ace38cbeb0af4c Thu Sep 01 17:23:39 UTC 2022 Yann Gautier <yann.gautier@st.com> feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boot_part_size() to get this eMMC boot partition size.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0e8e0fc9632f147fa1b1b3374accb78439025403
|