aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_validate.h
diff options
context:
space:
mode:
authorTom Rini2022-12-02 16:42:50 -0500
committerTom Rini2022-12-22 10:31:49 -0500
commit46df77669ec4d8f04b0faf770d661f79971775a6 (patch)
tree8a594501bff3946cf717961f25c0d8d094590c5d /include/fsl_validate.h
parent0c3a6d443f4751b681566e8a752d12e04f4369f4 (diff)
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 'include/fsl_validate.h')
-rw-r--r--include/fsl_validate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fsl_validate.h b/include/fsl_validate.h
index 252d499e7b1..fbcbd424967 100644
--- a/include/fsl_validate.h
+++ b/include/fsl_validate.h
@@ -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