summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2026-04-21 21:41:13 +0800
committerFabio Estevam <[email protected]>2026-04-21 20:49:39 -0300
commit5a9da0e505b021e49d67dd85bdfa0bc61afcffcb (patch)
treee155c04051761e2f10a55ccd720c4c3210fe3da2
parenta6d6fc94f0c2d338ad69215da0b7a9547f654b1b (diff)
imx8mq: evk: drop redundant gd clearing in board_init_f
The global data (gd) area is already zeroed in board_init_f_init_reserve() before board_init_f() is called. Remove the duplicate gd clearing from board_init_f(). Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--board/nxp/imx8mq_evk/spl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/nxp/imx8mq_evk/spl.c b/board/nxp/imx8mq_evk/spl.c
index 5116d806bb6..6686fe34126 100644
--- a/board/nxp/imx8mq_evk/spl.c
+++ b/board/nxp/imx8mq_evk/spl.c
@@ -218,9 +218,6 @@ void board_init_f(ulong dummy)
{
int ret;
- /* Clear global data */
- memset((void *)gd, 0, sizeof(gd_t));
-
arch_cpu_init();
init_uart_clk(0);