summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2023-10-16 16:16:37 -0300
committerMax Krummenacher <max.krummenacher@toradex.com>2023-11-29 17:06:09 +0100
commitd3f053a9cb3b5e23922dfb8767ae043483ef33a0 (patch)
treeb87b3718ef441c126fbe27e4cfb00c579a4ef8d1 /recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
parent85d0917d23aceba64bbda5022d80de9bca08938d (diff)
u-boot-toradex: Backport mainline patches for nand padding
This commit backports two patches submitted to the U-Boot mainline, both of which relocate the 'nand_padding' function to the Makefile of 'mach-imx.' The first patch introduces the 'u-boot-nand.imx' target to the Makefile, producing a binary file with 1024 leading zeros. The second patch adds a 'dd' command to the Makefile, appending 10k zeros to the end of the binary. These changes will eliminate the need of the 'nand_padding' function. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 678579d8783e2d24666ca1b6af58544f67579aa0)
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-toradex_2022.07.bb')
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex_2022.07.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb b/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
index af07340..cdfd767 100644
--- a/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
+++ b/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
@@ -22,4 +22,6 @@ TDX_PATCHES = " \
file://0001-configs-colibri-imx7-Fix-bad-block-table-in-flash-co.patch \
file://0001-colibri_imx6-fix-RALAT-and-WALAT-values.patch \
file://0001-toradex-colibri_imx7-Enable-nand-emmc-detection-and-.patch \
+ file://0001-arm-imx-add-u-boot-nand.imx-to-boot-from-NAND-withou.patch \
+ file://0001-arm-mach-imx-Makefile-Extend-u-boot-nand.imx-padding.patch \
"