From: Sriram Dash <sriram.dash@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] armv8: Remove dependency of SERDES for LS CHASIS3
Date: Mon, 4 Sep 2017 15:43:43 +0530 [thread overview]
Message-ID: <1504520023-23660-1-git-send-email-sriram.dash@nxp.com> (raw)
Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3.
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++--
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++
arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index cdeef26..355f8bb 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -58,6 +58,8 @@ config ARCH_LS2080A
select ARM_ERRATA_829520
select ARM_ERRATA_833471
select FSL_LSCH3
+ select SYS_FSL_SRDS_1
+ select SYS_HAS_SERDES
select SYS_FSL_DDR
select SYS_FSL_DDR_LE
select SYS_FSL_DDR_VER_50
@@ -93,8 +95,6 @@ config FSL_LSCH2
config FSL_LSCH3
bool
- select SYS_FSL_SRDS_1
- select SYS_HAS_SERDES
config FSL_MC_ENET
bool "Management Complex network"
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
index c6fede3..3ce2ffc 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
@@ -12,7 +12,9 @@
#include <asm/system.h>
#include <asm/armv8/mmu.h>
#include <asm/io.h>
+#ifdef CONFIG_SYS_HAS_SERDES
#include <asm/arch/fsl_serdes.h>
+#endif
#include <asm/arch/soc.h>
#include <asm/arch/cpu.h>
#include <asm/arch/speed.h>
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index 639e9d2..72acb45 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -8,7 +8,9 @@
#include <fsl_ifc.h>
#include <ahci.h>
#include <scsi.h>
+#ifdef CONFIG_SYS_HAS_SERDES
#include <asm/arch/fsl_serdes.h>
+#endif
#include <asm/arch/soc.h>
#include <asm/io.h>
#include <asm/global_data.h>
--
1.9.1
next reply other threads:[~2017-09-04 10:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 10:13 Sriram Dash [this message]
2017-09-14 21:07 ` [U-Boot] [PATCH] armv8: Remove dependency of SERDES for LS CHASIS3 York Sun
2017-09-15 4:51 ` Sriram Dash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1504520023-23660-1-git-send-email-sriram.dash@nxp.com \
--to=sriram.dash@nxp.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.