summaryrefslogtreecommitdiff
path: root/board/freescale/common/fman.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/fman.c')
-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 9dc540211e4..26cf5175c77 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 ...