summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorBreno Matheus Lima <breno.lima@nxp.com>2019-07-18 12:34:23 +0000
committerStefano Babic <sbabic@denx.de>2019-10-08 16:35:58 +0200
commit717143716602244037cb14359b02c14b0d75c464 (patch)
tree5e7c3cc560d66789c9a9b24df91d322d59dd6c6c /include/configs
parent5f2fe3b93a2583c266c67ea10ce454fc02bbd94e (diff)
imx6: spl: Reduce SPL limit size in case CONFIG_SECURE_BOOT is enabled
In case CONFIG_SECURE_BOOT is enabled we need to limit the SPL size to avoid a possible HAB failure event: --------- HAB Event 1 ----------------- event data: 0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00 0x00 0x00 0x00 0x0f 0x00 0x90 0x70 0x00 0x00 0x01 0x10 0x00 STS = HAB_FAILURE (0x33) RSN = HAB_INV_ADDRESS (0x22) CTX = HAB_CTX_TARGET (0x33) ENG = HAB_ENG_ANY (0x00) As explained in Commit 23612534fe0f ("spl: imx6: Provide a SPL_SIZE_LIMIT default") the i.MX6 SPL size limit is 68KB. The ROM code is copying the image size defined in boot data to its respective load address, in case we exceed the OCRAM free region a HAB invalid address failure event is generated. The maximum CSF size is defined in CONFIG_CSF_SIZE, reduce SPL size limit based on this configuration. Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions