]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/xes/xpedite537x/xpedite537x.c
fdt: Allow ft_board_setup() to report failure
[karo-tx-uboot.git] / board / xes / xpedite537x / xpedite537x.c
index aaa87b268d3055a7075575bb21111e10683c9d5b..41419feb178a955d2e4b4049f31fb82895e7f0b7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -72,11 +72,13 @@ int board_early_init_r(void)
 }
 
 #if defined(CONFIG_OF_BOARD_SETUP)
-void ft_board_setup(void *blob, bd_t *bd)
+int ft_board_setup(void *blob, bd_t *bd)
 {
 #ifdef CONFIG_PCI
        ft_board_pci_setup(blob, bd);
 #endif
        ft_cpu_setup(blob, bd);
+
+       return 0;
 }
 #endif