summaryrefslogtreecommitdiffstats
path: root/board/freescale/common
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2015-10-26 19:47:54 +0800
committerYork Sun <yorksun@freescale.com>2015-10-29 10:34:01 -0700
commite82973414da105c1b14c822f12cb296f69ca2001 (patch)
tree123eeaadc0cfd8ce64e7691a0e4be249fc19f472 /board/freescale/common
parent3ad447292304657aaf9c4a36f7eae34f449c5dbd (diff)
downloadtalos-obmc-uboot-e82973414da105c1b14c822f12cb296f69ca2001.tar.gz
talos-obmc-uboot-e82973414da105c1b14c822f12cb296f69ca2001.zip
armv8/ls1043a: Add Fman support
Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/fman.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/freescale/common/fman.c b/board/freescale/common/fman.c
index 9dc540211e..26cf5175c7 100644
--- a/board/freescale/common/fman.c
+++ b/board/freescale/common/fman.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2011 Freescale Semiconductor, Inc.
+ * Copyright 2011-2015 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -10,7 +10,11 @@
#include <fdt_support.h>
#include <fm_eth.h>
+#ifdef CONFIG_FSL_LAYERSCAPE
+#include <asm/arch/fsl_serdes.h>
+#else
#include <asm/fsl_serdes.h>
+#endif
/*
* Given the following ...
OpenPOWER on IntegriCloud