aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-07-21 04:39:30 +0000
committerTom Rini <trini@konsulko.com>2023-08-03 09:40:50 -0400
commit67de5966e6ba0ff27b9388b9600366dbcdc66223 (patch)
tree27c426d06498ed6062f04a93e0d65ffeb1fee2f3
parent07164d0ef1d2371582e7b561f4e4ae95cc66c0e6 (diff)
downloadu-boot-67de5966e6ba0ff27b9388b9600366dbcdc66223.zip
u-boot-67de5966e6ba0ff27b9388b9600366dbcdc66223.tar.gz
u-boot-67de5966e6ba0ff27b9388b9600366dbcdc66223.tar.bz2
board: ten64: opt out of fsl_setenv_bootcmd
Our bootcmd is the same regardless of where the SoC loaded it's code from, so we don't want fsl_setenv_bootcmd to do anything. Signed-off-by: Mathew McBride <matt@traverse.com.au> Reviewed-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--board/traverse/ten64/ten64.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c
index 1705796..3cb8bad 100644
--- a/board/traverse/ten64/ten64.c
+++ b/board/traverse/ten64/ten64.c
@@ -465,3 +465,12 @@ static void ten64_board_retimer_ds110df410_init(void)
puts("OK\n");
}
+/* Opt out of the fsl_setenv_bootcmd
+ * in arch/arm/cpu/armv8/fsl-layerscape/soc.c
+ * which is invoked by board_late_init.
+ */
+int fsl_setenv_bootcmd(void)
+{
+ return 0;
+}
+