From mboxrd@z Thu Jan 1 00:00:00 1970 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 CB600C433EF for ; Wed, 6 Apr 2022 09:41:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 65EC683D8E; Wed, 6 Apr 2022 11:40:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="aqlH6VlV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B3BD83AEB; Wed, 6 Apr 2022 11:40:08 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 87D2B83C76 for ; Wed, 6 Apr 2022 11:39:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 66EA8615F2; Wed, 6 Apr 2022 09:39:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAF2BC385A8; Wed, 6 Apr 2022 09:39:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649237989; bh=/s0NGlkPHK3Y7HLfYFlrlp8Ngpzt/AK0ggbN74CmHFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aqlH6VlVXOkHqhw0SIHs6n12eGmC0s2U0RfFWCJPZXNy1JUanDLYq4+fHGp8JzOD6 r9qM1wPKbHYoOV7ZfVAGC5oLc05x5ojYs6M1M+VEH9rkQLMEee/KcuiZjzr8+JDPch y2cLNipqlUvwvJfhH//xvgygzUBVvkTYw06KAEj5inFp9YRo1TfNaWoQo16Jq/nOof bkUG1HlBITu2jj2gc96qbabP3D+66LOwmnycgWwZm5m9g7vyIykV0vllR4a4LXCT/0 MpfNIamz/gMU608FTXeCfCOvoRT+1H5WRpJNunSp2NaeV+lKpzbeh9IW1BmANGoayD D4AMYTGqu5vww== Received: by pali.im (Postfix) id CD8D3855; Wed, 6 Apr 2022 11:39:46 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: =?UTF-8?q?Marek=20Beh=C3=BAn?= , Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH 2/5] arm: mvebu: turris_omnia: Define CONFIG_ETHPRIME instead of ethact= ENV Date: Wed, 6 Apr 2022 11:39:33 +0200 Message-Id: <20220406093936.8854-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220406093936.8854-1-pali@kernel.org> References: <20220406093936.8854-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 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" + /* 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 -- 2.20.1