diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-02 16:42:50 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 10:31:49 -0500 |
commit | 46df77669ec4d8f04b0faf770d661f79971775a6 (patch) | |
tree | 8a594501bff3946cf717961f25c0d8d094590c5d /drivers/mtd/nand/raw/fsl_ifc_spl.c | |
parent | 0c3a6d443f4751b681566e8a752d12e04f4369f4 (diff) | |
download | u-boot-46df77669ec4d8f04b0faf770d661f79971775a6.zip u-boot-46df77669ec4d8f04b0faf770d661f79971775a6.tar.gz u-boot-46df77669ec4d8f04b0faf770d661f79971775a6.tar.bz2 |
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 'drivers/mtd/nand/raw/fsl_ifc_spl.c')
-rw-r--r-- | drivers/mtd/nand/raw/fsl_ifc_spl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/raw/fsl_ifc_spl.c b/drivers/mtd/nand/raw/fsl_ifc_spl.c index 3b464ce..60a865b 100644 --- a/drivers/mtd/nand/raw/fsl_ifc_spl.c +++ b/drivers/mtd/nand/raw/fsl_ifc_spl.c @@ -278,11 +278,11 @@ void nand_boot(void) * U-Boot header is appended at end of U-boot image, so * calculate U-boot header address using U-boot header size. */ -#define CONFIG_U_BOOT_HDR_ADDR \ +#define FSL_U_BOOT_HDR_ADDR \ ((CFG_SYS_NAND_U_BOOT_START + \ CFG_SYS_NAND_U_BOOT_SIZE) - \ - CONFIG_U_BOOT_HDR_SIZE) - spl_validate_uboot(CONFIG_U_BOOT_HDR_ADDR, + FSL_U_BOOT_HDR_SIZE) + spl_validate_uboot(FSL_U_BOOT_HDR_ADDR, CFG_SYS_NAND_U_BOOT_START); /* * In case of failure in validation, spl_validate_uboot would |