From: Wasim Khan <wasim.khan@oss.nxp.com>
To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com,
V.Sethi@nxp.com, leif@nuviainc.com
Cc: Wasim Khan <wasim.khan@nxp.com>
Subject: [PATCH edk2-platforms v2 2/3] Silicon/NXP: LS1043A: Change SerDes ConfigTable to STATIC
Date: Wed, 17 Jun 2020 00:31:45 +0530 [thread overview]
Message-ID: <1592334106-3226-3-git-send-email-wasim.khan@oss.nxp.com> (raw)
In-Reply-To: <1592334106-3226-1-git-send-email-wasim.khan@oss.nxp.com>
From: Wasim Khan <wasim.khan@nxp.com>
Change SerDes1ConfigTable type to STATIC and add module
prefix.
Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
---
Changes in V2:
- New Commit
Silicon/NXP/LS1043A/Library/SocLib/SerDes.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c b/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c
index b34da76eeac9..640e1ee4e392 100644
--- a/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c
+++ b/Silicon/NXP/LS1043A/Library/SocLib/SerDes.c
@@ -19,7 +19,7 @@
// SerDes1 Protocol Shift in Reset Configuration Word (RCW) Status Register
#define SERDES1_PROTOCOL_SHIFT 16
-SERDES_CONFIG gSerDes1ConfigTable[] = {
+STATIC SERDES_CONFIG mSerDes1ConfigTable[] = {
{0x1555, {XFI_FM1_MAC9, PCIE1, PCIE2, PCIE3 } },
{0x2555, {SGMII_2500_FM1_DTSEC9, PCIE1, PCIE2, PCIE3 } },
{0x4555, {QSGMII_FM1_A, PCIE1, PCIE2, PCIE3 } },
@@ -49,7 +49,7 @@ SERDES_CONFIG gSerDes1ConfigTable[] = {
};
SERDES_CONFIG *gSerDesConfig[] = {
- gSerDes1ConfigTable
+ mSerDes1ConfigTable
};
/**
--
2.7.4
next prev parent reply other threads:[~2020-06-16 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-16 19:01 [PATCH edk2-platforms v2 0/3] Silicon/NXP: LX2160A: Add SerDes Support Wasim Khan
2020-06-16 19:01 ` [PATCH edk2-platforms v2 1/3] " Wasim Khan
2020-06-16 19:01 ` Wasim Khan [this message]
2020-06-16 19:01 ` [PATCH edk2-platforms v2 3/3] Silicon/NXP: SerDesHelperLib: Correct DEBUG log Wasim Khan
2020-06-17 12:33 ` [PATCH edk2-platforms v2 0/3] Silicon/NXP: LX2160A: Add SerDes Support Leif Lindholm
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-list 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=1592334106-3226-3-git-send-email-wasim.khan@oss.nxp.com \
--to=devel@edk2.groups.io \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox