]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ten64: opt out of fsl_setenv_bootcmd
authorMathew McBride <matt@traverse.com.au>
Fri, 21 Jul 2023 04:39:30 +0000 (04:39 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:50 +0000 (09:40 -0400)
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>
board/traverse/ten64/ten64.c

index 17057966c819979732a545d96f22bb310e070e92..3cb8bad855f5c44c9f80d1aab46e306800e169f2 100644 (file)
@@ -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;
+}
+