From patchwork Fri May 31 14:11:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Pijanowski X-Patchwork-Id: 1108538 X-Patchwork-Delegate: prabhakar@freescale.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=3mdeb.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Ftk20Zgyz9s4V for ; Sat, 1 Jun 2019 04:47:53 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B9936C21E0B; Fri, 31 May 2019 18:47:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BD95CC21DB3; Fri, 31 May 2019 18:46:59 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7194FC21C8B; Fri, 31 May 2019 14:12:11 +0000 (UTC) Received: from 7.mo178.mail-out.ovh.net (7.mo178.mail-out.ovh.net [46.105.58.91]) by lists.denx.de (Postfix) with ESMTPS id 4BB44C21C51 for ; Fri, 31 May 2019 14:12:09 +0000 (UTC) Received: from player750.ha.ovh.net (unknown [10.108.57.183]) by mo178.mail-out.ovh.net (Postfix) with ESMTP id 1A650693F2 for ; Fri, 31 May 2019 16:12:08 +0200 (CEST) Received: from 3mdeb.com (85-222-117-222.dynamic.chello.pl [85.222.117.222]) (Authenticated sender: maciej.pijanowski@3mdeb.com) by player750.ha.ovh.net (Postfix) with ESMTPSA id 45C9C67557E4; Fri, 31 May 2019 14:12:03 +0000 (UTC) From: Maciej Pijanowski To: u-boot@lists.denx.de Date: Fri, 31 May 2019 16:11:35 +0200 Message-Id: <1559311895-1881-1-git-send-email-maciej.pijanowski@3mdeb.com> X-Mailer: git-send-email 2.7.4 X-Ovh-Tracer-Id: 3906591204137053721 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudefuddgjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenuc X-Mailman-Approved-At: Fri, 31 May 2019 18:46:56 +0000 Cc: piotr.krol@3mdeb.com Subject: [U-Boot] [PATCH] fsl-layerscape/ls1046a_serdes.c: add 0x3040 serdes1 setting X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" According to the table 31-1 in the QorIQ LS1046A Reference Manual, Rev. 2, 11/2018, the 0x3040 is also a valid setting for the SerDes1. With the current codebase, following message appears when 0x3040 is used: SERDES1[PRTCL] = 0x3040 is not valid Signed-off-by: Maciej Pijanowski Cc: prabhakar.kushwaha@nxp.com Cc: piotr.krol@3mdeb.com --- arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c index 91de5ff0d3da..12775c65433b 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/ls1046a_serdes.c @@ -33,6 +33,7 @@ static struct serdes_config serdes1_cfg_tbl[] = { SGMII_FM1_DTSEC6} }, {0x2223, {SGMII_2500_FM1_DTSEC9, SGMII_2500_FM1_DTSEC10, SGMII_2500_FM1_DTSEC5, SGMII_FM1_DTSEC6} }, + {0x3040, {SGMII_FM1_DTSEC9, NONE, QSGMII_FM1_A, NONE} }, {} };