aboutsummaryrefslogtreecommitdiff
path: root/board/st/stm32f429-discovery/stm32f429-discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/stm32f429-discovery/stm32f429-discovery.c')
-rw-r--r--board/st/stm32f429-discovery/stm32f429-discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c
index 8c8abf6a067..673e7728f1d 100644
--- a/board/st/stm32f429-discovery/stm32f429-discovery.c
+++ b/board/st/stm32f429-discovery/stm32f429-discovery.c
@@ -320,7 +320,7 @@ int misc_init_r(void)
u_id_high = readl(&STM32_U_ID->u_id_high);
sprintf(serialno, "%08x%08x%08x",
u_id_high, u_id_mid, u_id_low);
- setenv("serial#", serialno);
+ env_set("serial#", serialno);
}
return 0;