summaryrefslogtreecommitdiff
path: root/board/ep8248
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2009-09-09 21:22:08 +0200
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:21 -0500
commit9833951ff7f31672769556f82609d7afd9e15fa9 (patch)
tree858cd458b9c63ac5c030b1cdf7dfe89fc9cc7ca6 /board/ep8248
parent36e0eb63e3f095a321e53e19e631ea07e0d39955 (diff)
downloadu-boot-imx-9833951ff7f31672769556f82609d7afd9e15fa9.zip
u-boot-imx-9833951ff7f31672769556f82609d7afd9e15fa9.tar.gz
u-boot-imx-9833951ff7f31672769556f82609d7afd9e15fa9.tar.bz2
ep8248: add support for device tree and secondary Ethernet interface.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Diffstat (limited to 'board/ep8248')
-rw-r--r--board/ep8248/ep8248.c12
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) */
+