diff options
author | Tom Rini <trini@ti.com> | 2014-11-25 11:08:52 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-26 11:21:14 -0500 |
commit | 1fc4e6f486cc1e9d2dcf0ba86e6021c3d83dce51 (patch) | |
tree | 9e96deb4b36a251fab92533bc6e8d7ffb58893eb /board/ifm | |
parent | 94092e361cfa9461d746e530ca97d8822f5d23f0 (diff) | |
parent | 933cdbb479aa87dcb6e3e333c3d1e04b0e7de1ec (diff) | |
download | blackbird-obmc-uboot-1fc4e6f486cc1e9d2dcf0ba86e6021c3d83dce51.tar.gz blackbird-obmc-uboot-1fc4e6f486cc1e9d2dcf0ba86e6021c3d83dce51.zip |
Merge git://git.denx.de/u-boot-fdt
Diffstat (limited to 'board/ifm')
-rw-r--r-- | board/ifm/ac14xx/ac14xx.c | 4 | ||||
-rw-r--r-- | board/ifm/o2dnt2/o2dnt2.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/board/ifm/ac14xx/ac14xx.c b/board/ifm/ac14xx/ac14xx.c index 0fbdfdbf71..5d2ab2fad3 100644 --- a/board/ifm/ac14xx/ac14xx.c +++ b/board/ifm/ac14xx/ac14xx.c @@ -608,8 +608,10 @@ int checkboard(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); + + return 0; } #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */ diff --git a/board/ifm/o2dnt2/o2dnt2.c b/board/ifm/o2dnt2/o2dnt2.c index 6716ffc9d0..ca09767d28 100644 --- a/board/ifm/o2dnt2/o2dnt2.c +++ b/board/ifm/o2dnt2/o2dnt2.c @@ -364,7 +364,7 @@ int update_flash_size(int flash_size) } #endif /* defined(CONFIG_SYS_UPDATE_FLASH_SIZE) */ -void ft_board_setup(void *blob, bd_t *bd) +int ft_board_setup(void *blob, bd_t *bd) { int phy_addr = CONFIG_PHY_ADDR; char eth_path[] = "/soc5200@f0000000/mdio@3000/ethernet-phy@0"; @@ -380,5 +380,7 @@ void ft_board_setup(void *blob, bd_t *bd) #endif /* fix up the phy address */ do_fixup_by_path(blob, eth_path, "reg", &phy_addr, sizeof(int), 0); + + return 0; } #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */ |