diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2009-09-09 21:22:08 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-10 23:08:48 +0200 |
commit | 45f89f340b4d8aa099fd022260dcb13cf3321b61 (patch) | |
tree | 8e06315c26e9bc3388566cce5993fcc905a5ae70 /board/ep8248/ep8248.c | |
parent | aa0c7a86cd236b8193218a09e1365c8991bb5ddc (diff) |
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 bc20ba739c2..57d39aa7e55 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) */ + |