]> git.sur5r.net Git - u-boot/blobdiff - board/jupiter/jupiter.c
arm: am57xx: Set serial# variable
[u-boot] / board / jupiter / jupiter.c
index 78e4b5d1e9164dd76e793a518a01b5083456a9be..d56902bcd23c151e4cb5ac0ba52d621a76adc960 100644 (file)
@@ -282,10 +282,11 @@ void ide_set_reset (int idereset)
 }
 #endif
 
-#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
-void
-ft_board_setup(void *blob, bd_t *bd)
+#ifdef CONFIG_OF_BOARD_SETUP
+int ft_board_setup(void *blob, bd_t *bd)
 {
        ft_cpu_setup(blob, bd);
+
+       return 0;
 }
-#endif
+#endif /* CONFIG_OF_BOARD_SETUP */