Message ID | 20200327102825.10230-6-igor.opaniuk@gmail.com |
---|---|
State | Accepted |
Commit | 1efb80c4fcb6ad421f1b494409ecd53c60ac4755 |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=M9n/WJIx; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48pdQ43wN5z9sSN for <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2020 21:29:32 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C1378188A; Fri, 27 Mar 2020 11:29:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="M9n/WJIx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 938CE818AB; Fri, 27 Mar 2020 11:28:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 85BDC818A2 for <u-boot@lists.denx.de>; Fri, 27 Mar 2020 11:28:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lj1-x243.google.com with SMTP id k21so9648188ljh.2 for <u-boot@lists.denx.de>; Fri, 27 Mar 2020 03:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nr76dMDiPoFzW4/aZQzzB823m1u/F8CQikMgoehptz0=; b=M9n/WJIxYjRMIMDmc4KUxduvfL0KCUO4zA118ZYWEsEqcs+87/fU0HiksdrU37Mqsx W1wmGvQ0vhacwHUyMdaMYLjo6MUM2GqnFJ1rCdtygyknt3hTzkrnaEBZUPa5xykb0pH7 sDhunHYnKdaHVthyq7rT9B+fZyE0aTnT/SBCb2qltkpysffziSxiwS+6HkilrWn5AYhO iCbqg4ZYbLvaavD6rhCJnd7K/NRfcY935XmfJ7I0+Zh2TKaJixTxvWSstR8ohkC4yHvn Pemy3XnsMSVe8EXS0yD8xtQbVDW8Ny3kOuBOZKRm3+XiFL/Pv4CIvuExMjYlf30oTjNU 6BXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nr76dMDiPoFzW4/aZQzzB823m1u/F8CQikMgoehptz0=; b=HL35wJAeF7J0OroWz6n7XxdLr8r/O/Sro2PL1yqMDdf1hzbVgbVUZNtC/5CvvtdeGa qsA8DE6DguhpAfbVft7pC7RdA4xZMKoyhRkVtzlsiKndLh5HBUnNXdS3ij0rtRyjR8NZ /0sU6g4xiOgEtKVt/TCXk2o0Pc6Ob7USReL/dzOYUkpCLJdU7/pE5ZkHEsjnblUD4ctm 9HfmMcbM6M8h3MUIh1rv/Nah/li+dyxMjjdWyEUdWuPSr6oxdgUwMiDX9uhSdcrFxgtk sP3OyHbhon7cOP+X3iIu3OlDcLshvIbYbZMIPEnNfVKOTwITBM92k5jruIk3NluGwpw3 Ijjw== X-Gm-Message-State: AGi0PuZYXmZGGhXED4dtcUVrJDvzuQc/ZiTsUU5hxlCzuMD3pFRPl4Rn jMH6xvTfHBw1TkOH3v6gXbb6qIPrVfA= X-Google-Smtp-Source: APiQypJH7mzdFudL6o7faSPeH8QYF1CS1ro5RJGgiggaT5O+nfOMgfKtYVRCIlfRJ9fE0LKjH44Hew== X-Received: by 2002:a2e:98da:: with SMTP id s26mr8181947ljj.155.1585304918527; Fri, 27 Mar 2020 03:28:38 -0700 (PDT) Received: from localhost (host-176-37-176-139.la.net.ua. [176.37.176.139]) by smtp.gmail.com with ESMTPSA id r9sm2592911ljd.10.2020.03.27.03.28.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 03:28:38 -0700 (PDT) From: Igor Opaniuk <igor.opaniuk@gmail.com> To: u-boot@lists.denx.de Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>, Stefano Babic <sbabic@denx.de>, Oleksandr Suvorov <oleksandr.suvorov@toradex.com>, Max Krummenacher <max.krummenacher@toradex.com>, Philippe Schenker <philippe.schenker@toradex.com>, Igor Opaniuk <igor.opaniuk@toradex.com> Subject: [PATCH v2 05/13] colibri_imx6: set gpr1 ENET_CLK_SEL Date: Fri, 27 Mar 2020 12:28:17 +0200 Message-Id: <20200327102825.10230-6-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200327102825.10230-1-igor.opaniuk@gmail.com> References: <20200327102825.10230-1-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
bugfix/improvements for IMX-based modules
|
expand
|
diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index f04b749311..d11401ecab 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -354,12 +354,15 @@ int board_phy_config(struct phy_device *phydev) int setup_fec(void) { int ret; + struct iomuxc *iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR; /* provide the PHY clock from the i.MX 6 */ ret = enable_fec_anatop_clock(0, ENET_50MHZ); if (ret) return ret; + setbits_le32(&iomuxc_regs->gpr[1], IOMUXC_GPR1_ENET_CLK_SEL_MASK); + return 0; }