aboutsummaryrefslogtreecommitdiff
path: root/include/configs/T104xRDB.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-02 16:42:50 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:31:49 -0500
commit46df77669ec4d8f04b0faf770d661f79971775a6 (patch)
tree8a594501bff3946cf717961f25c0d8d094590c5d /include/configs/T104xRDB.h
parent0c3a6d443f4751b681566e8a752d12e04f4369f4 (diff)
downloadu-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 'include/configs/T104xRDB.h')
-rw-r--r--include/configs/T104xRDB.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 5bdc210..7a5bf93 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -20,13 +20,7 @@
#ifdef CONFIG_MTD_RAW_NAND
#ifdef CONFIG_NXP_ESBC
-#define CONFIG_U_BOOT_HDR_SIZE (16 << 10)
-/*
- * HDR would be appended at end of image and copied to DDR along
- * with U-Boot image.
- */
-#define CFG_SYS_NAND_U_BOOT_SIZE ((768 << 10) + \
- CONFIG_U_BOOT_HDR_SIZE)
+#define CFG_SYS_NAND_U_BOOT_SIZE ((768 << 10) + (16 << 10))
#else
#define CFG_SYS_NAND_U_BOOT_SIZE (768 << 10)
#endif