Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3CFF0C433EF for ; Mon, 2 May 2022 05:48:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E9A0A83040; Mon, 2 May 2022 07:48:14 +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=1651470495; bh=IgJHYi1y07JwWgn/ql2s9HZSkifd6VXXhzfw30+kbnY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GMlM5yGmQPv9OybBaVgcRLxLzumPoAayKZmiLVt05se2tGV+NKG2WuAIiH4D9EGl2 hvTRt0CNsKYdf3rBTaReP8r7wJzUhuWO7GmaqVkQRmFEIX20mufsM8LEpRmvCb/SRJ hdyCJ6lGGIirCqDt2nbSngNHhx3WuDvA8PQO8oDkrHagovuNyorIzw96fd0R4zrOov zpceiVyfM8ELJtCb1g6HN7CNiatS3tku8bdnrMIcicLwn+guLbShZJbiwjBxlQuccT kWO6Hd1eui+9xW2fNdFvycEOPgeFdMAfUhItxuVtmxDW/Tsaj5LDzQBbtzUmu4v8fP S5LcwHvm6wO8A== Received: by phobos.denx.de (Postfix, from userid 109) id 8347783639; Mon, 2 May 2022 07:48:13 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:101:465::107]) (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 514F680084 for ; Mon, 2 May 2022 07:48:11 +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=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4KsBvv1k6nz9sWN; Mon, 2 May 2022 07:48:11 +0200 (CEST) Message-ID: <2127c787-42c2-8d4a-424b-d5bc2acdcc39@denx.de> Date: Mon, 2 May 2022 07:48:07 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 2/5] arm: mvebu: turris_omnia: Define CONFIG_ETHPRIME instead of ethact= ENV Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de References: <20220406093936.8854-1-pali@kernel.org> <20220406093936.8854-2-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220406093936.8854-2-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 On 06.04.22 11:39, Pali Rohár wrote: > CONFIG_ETHPRIME defines primary ethernet device and env variable $ethact > stores currently active ethernet device. > > So there is no point to set ethact= in default environment. Instead set > CONFIG_ETHPRIME properly. > > Signed-off-by: Pali Rohár > --- > include/configs/turris_omnia.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h > index b35299b2fbb3..15f874ea22e1 100644 > --- a/include/configs/turris_omnia.h > +++ b/include/configs/turris_omnia.h > @@ -26,6 +26,8 @@ > "fdt_high=0x10000000\0" \ > "initrd_high=0x10000000\0" > > +#define CONFIG_ETHPRIME "ethernet@34000" > + This was moved to Kconfig in the meantime. I'll make the necessary myself, no need to resend. Thanks, Stefan > /* Defines for SPL */ > #define CONFIG_SPL_SIZE (140 << 10) > #define CONFIG_SPL_MAX_SIZE (CONFIG_SPL_SIZE - (CONFIG_SPL_TEXT_BASE - 0x40000000)) > @@ -119,7 +121,6 @@ > LOAD_ADDRESS_ENV_SETTINGS \ > "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ > "console=ttyS0,115200\0" \ > - "ethact=ethernet@34000\0" \ > "bootcmd_rescue=" TURRIS_OMNIA_BOOTCMD_RESCUE "\0" \ > BOOTENV > Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de