commit | 053d7f2c394c96920de7e90b4b495d1fac30fff3 | [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 | a003779c71e1ea02b5ba2f79d13a8e0d1bae8017 [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