commit | f462c1249ac41f43423011bb12ace38cbeb0af4c | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Thu Sep 01 19:23:39 2022 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Sep 07 09:36:48 2022 +0200 |
tree | c91d8ae340ccbfd870a3104615914346b5044c89 | |
parent | 810bb3d0f4b3f3c1fa6d3fdca2d95c4e86329808 [diff] |
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