From patchwork Thu May 19 11:08:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oberfichtner X-Patchwork-Id: 1633155 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=z0jC2xwX; dkim-atps=neutral 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=) 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 (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L3nF14vxNz9tkb for ; Thu, 19 May 2022 21:09:41 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D92483E19; Thu, 19 May 2022 13:09:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1652958558; bh=BXMuS5klyj8r1Y+A/Sb8v6KbHYVgaMeNfxJO//8gS/o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=z0jC2xwXdg6My4l7bba19118nPBg/ouYynBDhaz/iWygarc4gUDb/UsaUOvpOdg1v +stLhRgTHZX5ui7jtafD3dKipJoLd23p+9kxW3kTY73QHKaYD9byng05lRO0dqU5eX b6kO6iRdNzs3LqNaC9TUCsi7ieyDzIDxapiAKe2lOeRWeBwXW5xwV6EOOIHHE3tX1H jZnkapb3zqx1YIOiMBtJqx4y09r1qmvf1wKTfRaB0zGZR0uA5IoDfnvRGcwdFvTRlV Hp6TofSei6BKZsomjES0XBaS3x2y9QWNKg2BbodsADoHYP0Q7+OSlUUpPlEQ+nZEBT pr3Ntniowwi0Q== Received: by phobos.denx.de (Postfix, from userid 109) id 9F92E83F48; Thu, 19 May 2022 13:09:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from xpert.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A8FFE83D7E for ; Thu, 19 May 2022 13:09:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=pro@denx.de Received: by xpert.denx.de (Postfix, from userid 535) id 4514B3E0EA9; Thu, 19 May 2022 13:09:02 +0200 (CEST) From: Philip Oberfichtner To: u-boot@lists.denx.de Cc: Fabio Estevam , Christoph Niedermaier , Stefano Babic , Peng Fan , Philip Oberfichtner , Marek Vasut , Andreas Geisreiter , Tom Rini , u-boot@dh-electronics.com Subject: [PATCH 4/8] ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header Date: Thu, 19 May 2022 13:08:33 +0200 Message-Id: <20220519110837.245488-5-pro@denx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220519110837.245488-1-pro@denx.de> References: <20220519110837.245488-1-pro@denx.de> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Use phy address from device tree instead of CONFIG_FEC_MXC_PHYADDR from board header. This is required, because the DH picoITX and DRC02 boards require different settings than PDK2. The corresponding 'phy-handle' device tree properties are already there. I tested this change on picoITX and DRC02, but on PDK2 it is untested. Reviewed-by: Marek Vasut Signed-off-by: Philip Oberfichtner --- include/configs/dh_imx6.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 2b14464dff..178f5a6e7d 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -30,9 +30,6 @@ /* Bootcounter */ #define CONFIG_SYS_BOOTCOUNT_BE -/* FEC ethernet */ -#define CONFIG_FEC_MXC_PHYADDR 7 - /* MMC Configs */ #define CONFIG_SYS_FSL_ESDHC_ADDR 0 #define CONFIG_SYS_FSL_USDHC_NUM 3