diff mbox series

[15/16] board: ten64: opt out of fsl_setenv_bootcmd

Message ID 20230721043931.14188-16-matt@traverse.com.au
State Accepted
Commit 67de5966e6ba0ff27b9388b9600366dbcdc66223
Delegated to: Tom Rini
Headers show
Series Ten64 updates 2023-07 | expand

Commit Message

Mathew McBride July 21, 2023, 4:39 a.m. UTC
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>
---
 board/traverse/ten64/ten64.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Peng Fan (OSS) July 21, 2023, 8:08 a.m. UTC | #1
On 7/21/2023 12:39 PM, Mathew McBride wrote:
> 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>
diff mbox series

Patch

diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c
index 17057966c8..3cb8bad855 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;
+}
+