summaryrefslogtreecommitdiff
path: root/include/env
diff options
context:
space:
mode:
authorAlexander Feilke <[email protected]>2026-04-07 15:06:49 +0200
committerFabio Estevam <[email protected]>2026-04-21 20:49:39 -0300
commitd000ce5efee3afe194d08489aa153f7fce436dd9 (patch)
treea3bf225749a0bfebdb9615607eeb2bc75c71aae1 /include/env
parent77375425023b141972091e8f2cd56c3b64c0c9df (diff)
board: tqma7: add code for u-boot with spl
The TQMa7x is a SoM family with a pluggable board connector based on the i.MX7 SoCs. Add support for the SoM and its combination with our MBa7x carrier board. Acked-by: Peng Fan <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
Diffstat (limited to 'include/env')
-rw-r--r--include/env/tq/spi.env4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/env/tq/spi.env b/include/env/tq/spi.env
index 47dcfea7d3f..242aa4da784 100644
--- a/include/env/tq/spi.env
+++ b/include/env/tq/spi.env
@@ -20,4 +20,8 @@ update_uboot_spi=
fi;
fi;
+#ifdef CONFIG_CMD_QSPIHDR
+write_uboot_spi=qspihdr init ${loadaddr} ${filesize} safe;
+#else
write_uboot_spi=sf update "${loadaddr}" "${uboot_spi_start}" "${filesize}"
+#endif