Message ID | 1517414947-5016-8-git-send-email-patrice.chotard@st.com |
---|---|
State | Superseded |
Headers | show |
Series | Add get_cpu_id for STM32 SoCs | expand |
diff --git a/board/st/stm32f469-discovery/stm32f469-discovery.c b/board/st/stm32f469-discovery/stm32f469-discovery.c index 36f7b2e8e176..c2ef76ba9ac3 100644 --- a/board/st/stm32f469-discovery/stm32f469-discovery.c +++ b/board/st/stm32f469-discovery/stm32f469-discovery.c @@ -54,6 +54,13 @@ int board_init(void) return 0; } +int board_late_init(void) +{ + set_env_soc_name(get_cpu_id()); + + return 0; +} + #ifdef CONFIG_MISC_INIT_R int misc_init_r(void) {