diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-03 00:42:50 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 18:31:49 +0300 |
commit | 46df77669ec4d8f04b0faf770d661f79971775a6 (patch) | |
tree | 8a594501bff3946cf717961f25c0d8d094590c5d /board | |
parent | 0c3a6d443f4751b681566e8a752d12e04f4369f4 (diff) | |
download | u-boot-46df77669ec4d8f04b0faf770d661f79971775a6.tar.xz |
nxp: Rename CONFIG_U_BOOT_HDR_SIZE to FSL_U_BOOT_HDR_SIZE
This is always defined to 16K, so we move this over to
include/fsl_validate.h to start with. Next, we rename this from CONFIG_
to FSL_. Coalesce the various comments around this definition to be in
fsl_validate.h as well to explain the usage.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/common/fsl_chain_of_trust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c index 9ca350ed46..029d06bbf9 100644 --- a/board/freescale/common/fsl_chain_of_trust.c +++ b/board/freescale/common/fsl_chain_of_trust.c @@ -143,7 +143,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) (image_entry_noargs_t)(unsigned long)spl_image->entry_point; hdr_addr = (spl_image->entry_point + spl_image->size - - CONFIG_U_BOOT_HDR_SIZE); + FSL_U_BOOT_HDR_SIZE); spl_validate_uboot(hdr_addr, (uintptr_t)spl_image->entry_point); /* * In case of failure in validation, spl_validate_uboot would |