commit | 637cd9e870af7377fd5b4517f0a237ccd9a2ddde | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Sep 02 08:36:40 2022 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Sep 07 09:36:48 2022 +0200 |
tree | e215ce44ded6e1e5623d851b51429d8e9eef8242 | |
parent | 053d7f2c394c96920de7e90b4b495d1fac30fff3 [diff] |
fix(st): add max size for FIP in eMMC boot part When putting FIP binary in eMMC boot partition (with STM32MP_EMMC_BOOT), the FIP max size should be precised. If it is not, an assert fails in io_block driver, as cur->size will be zero. For this length, we then use the size of the eMMC boot partition minus STM32MP_EMMC_BOOT_FIP_OFFSET. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I48b7635cff64f52d4b337a4c8c3becd9a0be72e8