]> git.sur5r.net Git - u-boot/blobdiff - board/cm5200/cm5200.c
tools: gen_eth_addr: add getpid() to time(0) to avoid duplicated seed
[u-boot] / board / cm5200 / cm5200.c
index e391dfc9e1bd1ee6fe215d2738e3546aec0bad41..5276907b45ca249ad46f71c13aea47ae5dd4c316 100644 (file)
@@ -16,7 +16,7 @@
  *      - run-time SDRAM controller configuration
  *      - LIBFDT support
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -359,9 +359,11 @@ int last_stage_init(void)
 
 
 #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
-void ft_board_setup(void *blob, bd_t *bd)
+int ft_board_setup(void *blob, bd_t *bd)
 {
        ft_cpu_setup(blob, bd);
        ft_blob_update(blob, bd);
+
+       return 0;
 }
 #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */