diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2009-09-09 19:22:08 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-10 21:08:48 (GMT) |
commit | 45f89f340b4d8aa099fd022260dcb13cf3321b61 (patch) | |
tree | 8e06315c26e9bc3388566cce5993fcc905a5ae70 /board/ep8248/ep8248.c | |
parent | aa0c7a86cd236b8193218a09e1365c8991bb5ddc (diff) | |
download | u-boot-fsl-qoriq-45f89f340b4d8aa099fd022260dcb13cf3321b61.tar.xz |
ep8248: add support for device tree and secondary Ethernet interface.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Diffstat (limited to 'board/ep8248/ep8248.c')
-rw-r--r-- | board/ep8248/ep8248.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/board/ep8248/ep8248.c b/board/ep8248/ep8248.c index bc20ba7..57d39aa 100644 --- a/board/ep8248/ep8248.c +++ b/board/ep8248/ep8248.c @@ -35,8 +35,8 @@ * according to the five values podr/pdir/ppar/psor/pdat for that entry */ -#define CONFIG_SYS_FCC1 (CONFIG_ETHER_INDEX == 1) -#define CONFIG_SYS_FCC2 (CONFIG_ETHER_INDEX == 2) +#define CONFIG_SYS_FCC1 (CONFIG_ETHER_ON_FCC1 == 1) +#define CONFIG_SYS_FCC2 (CONFIG_ETHER_ON_FCC2 == 1) const iop_conf_t iop_conf_tab[4][32] = { @@ -261,3 +261,11 @@ int checkboard(void) return 0; } + +#if defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) +void ft_board_setup(void *blob, bd_t *bd) +{ + ft_cpu_setup( blob, bd); +} +#endif /* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */ + |