1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 19:05:51 +01:00

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>
This commit is contained in:
Tom Rini
2022-12-02 16:42:50 -05:00
parent 0c3a6d443f
commit 46df77669e
9 changed files with 12 additions and 98 deletions

View File

@@ -280,4 +280,11 @@ int fsl_setenv_chain_of_trust(void);
* Architecture header (appended to U-boot image).
*/
void spl_validate_uboot(uint32_t hdr_addr, uintptr_t img_addr);
/*
* This header is appended at end of image and copied to DDR along
* with the U-Boot image and later used as part of the validation
* flow
*/
#define FSL_U_BOOT_HDR_SIZE (16 << 10)
#endif