From patchwork Tue Dec 26 15:46:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758377 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131549wrw; Tue, 26 Dec 2023 07:48:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWH4tkmUa5Oa8PUoq1JQY6Uatcl0LeI6yknU8GNmlcfTpTvCnhU1tIWvX3VVoXE2lh4Cpz X-Received: by 2002:a05:600c:b92:b0:40d:5c48:66df with SMTP id fl18-20020a05600c0b9200b0040d5c4866dfmr234754wmb.75.1703605725510; Tue, 26 Dec 2023 07:48:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605725; cv=none; d=google.com; s=arc-20160816; b=xGvi5FQpJZVO+Dzt9kUfns8l1VwBQftndxLCyuRbP1DZmfL8bE8TSufE+AOc7LACe+ aG27nYhxvxXpXp4eUD82Az7XRAAekphKf9xqoK9vuJR14f9yjUmVmSTzzYhINJS7IFL1 ASGQpfB7equ1OJn8bYdSKpgz5E/K+1ORLgf6vZJCypH1gD2uCR6/YFZogAEwNTPxuxOA 89FBaakCodaVUEDmLUuuI2ubfmN0O6DOLE38onUEbdV6jAjNdi4Svfg4EO0oCTZZk7CT 6V7VoDHCVip/OKNijnMrt3sTNwFn/+a8Zp9Z0mo97ZBQuXud6F87ZQQMj/KCPslpQXcb /IHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yEdkUVwCAxd+gHv8cv0J+cC7KraHKhGEvjOUuULM4yg=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=GUd2NUB8z79jdBdaG/m9/NQ37J7fLZzCqbTf6Fq876yId0KNo0lfGfIEP34bBctiWK vpKZX8tWl7ArkwNMoQcAQ/QR7uy2AshbvCwMgwI76i/FK3tLJO7SZ+VrRhqNb84eey83 m5/dboeRYPe/uSwxUzgYfy9ohv0CsVnZiPP5HDxDeHc2oPK6uf0utlwXapupQZUqpl1f 25TcXcKw18J0sMEQ0LRYSf/8ElTqPZN6sS03Ebx9jXBPznLKnacNgll6CD1s2XFJlakM +6vbqs3op3eYNPR1z0rqVN8p/HjYEyJ3vYhzQSweDl8SXhd/7zHSpn8dvsjfazr4TlEH DwXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VNFAi/7M"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id n16-20020a05600c4f9000b0040d5aef840esi590439wmq.77.2023.12.26.07.48.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:45 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VNFAi/7M"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EE10C87855; Tue, 26 Dec 2023 16:48:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="VNFAi/7M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9F2F878A7; Tue, 26 Dec 2023 16:48:37 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (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 C235987855 for ; Tue, 26 Dec 2023 16:48:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-50e49a0b5caso4846319e87.0 for ; Tue, 26 Dec 2023 07:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605715; x=1704210515; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yEdkUVwCAxd+gHv8cv0J+cC7KraHKhGEvjOUuULM4yg=; b=VNFAi/7MTHI79vAKBH/PyBSUMRIQGcatWeVmjscWqPAoyT3xa4EgAb7quAASGatnoX n2g0ry21riKSY1d4XBaF+baC+1lGUXOVGm5G+OlxY0dJUj6BIfwLeSEEx8mfINx/j2aE OW6CpitnMZdxu/4J7JbHDX47dgK1B6gb4L0QeBRQrInnzObJNfP/pgVnJRfRr/njL1gK E/DTlfT0KXYsk9JeiUo78tcIq3YJALRqAZmEL/5QGSSwdPXdG/UP11SNJ2cVK9hRCi0N W2wA2Z8HFjOcdfKhLQMnKtnFYwzwX8dU1chyxaTwn/sjYjh8EUwh63Ayi+YoLI5YGpQE Mx4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605715; x=1704210515; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yEdkUVwCAxd+gHv8cv0J+cC7KraHKhGEvjOUuULM4yg=; b=UxZIFguafOX2nGtL7LqWuku/2daCUUZfqKL9DsSafSwuFX+lX9gAYY5NA7W6qVlkYR NXBbyX8ybYE5A/o9GY8xIKb4fKL15ZsxgrU6u75PuuI/UdG+kctWfEGwVX+04lfPOHHj UU3lA0Rl/Ho9E0a0JcjVsZLDU4OCV61tPVYP5XYmB4bKsdiPNNSNkxuTt1wb44AyrKLK r2++EIR4tk+gsCKw6CL/ECLqfCWADkxIja7oZFWvoLp/qFacNmV4tS5m6NJVPuj25Qyt 4hpCvSxrkge7NAkc3QsectWhQXiMO1xPnGyS/1L+0ZBfFQ7dUC0UhqlHaUQGETZ7H9xG 8mbQ== X-Gm-Message-State: AOJu0Yzy5MKlS7IbweB2e6ysCtP6Oeu/keZw2U7D9GzDCeTaD4dDkWXO y3UDeKkxkX+R/G+6ufMyKHHOy1okBgCklEV09pP8qxMgtwo= X-Received: by 2002:ac2:5b03:0:b0:50e:6168:c99d with SMTP id v3-20020ac25b03000000b0050e6168c99dmr2752607lfn.27.1703605714931; Tue, 26 Dec 2023 07:48:34 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:34 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 1/8] test_net: print out net list Date: Tue, 26 Dec 2023 21:46:12 +0600 Message-Id: <20231226154619.5071-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Printing net list is useful in CI log files. Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- test/py/tests/test_net.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py index b2241ae6a4..cd5b791a6a 100644 --- a/test/py/tests/test_net.py +++ b/test/py/tests/test_net.py @@ -96,6 +96,8 @@ def test_net_pre_commands(u_boot_console): if init_pci: u_boot_console.run_command('pci enum') + u_boot_console.run_command('net list') + @pytest.mark.buildconfigspec('cmd_dhcp') def test_net_dhcp(u_boot_console): """Test the dhcp command. From patchwork Tue Dec 26 15:46:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758378 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131615wrw; Tue, 26 Dec 2023 07:48:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0SeGx0AY7boJs8vZgLJ0GhF6sVQgEjp8IXFVF/HRSADawfKxNPHtci8i2VPYmtFbkIqJC X-Received: by 2002:a05:600c:748:b0:40c:35fd:be08 with SMTP id j8-20020a05600c074800b0040c35fdbe08mr2731098wmn.122.1703605736989; Tue, 26 Dec 2023 07:48:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605736; cv=none; d=google.com; s=arc-20160816; b=FUPCKBjDPqr8XMKGSUS9pkq2wZVPLqtyP+SPeJtGBZguH7lCMbcExeQa/xO8fYqTg4 4pbDGaw4Qm8Nz+XPCgMAdCDizVpiH8SpBSxSgtaJgjl7khyQhXbIbndHksDvzTxbbx6V dtF4+wx78krhGjMmVAC72ImWddM5Lr7qfSVYptuDsKvAvnxXTQX/61fVcfaRiGFshH+o wsj+vPiPoBS8WStgPuRXSJNBLUl96hlfZdym9vg59Xk6q5tq2Wa831QrDln3YyTo6Zum wqLsTidTZ3qMJds42ZPcgOwWTqBtTirIA1DYgoy53Io1IjRDNGkusDsL6+eHIJvv8rfg tAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bTm8Qd5DwjmGgajInF0kr8Xif9qyGlQgw/tpF6k1o9Y=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=qAsgyQ/bSv03e7QtAhW8G5xMkx2SP4684MpstAlDP1AnucSKXXxJdMzxdfHeRdWy1V x4/sLGJ0iTGt0vjNk4bndcvq6Nkr5tpEXOtqHx56DWPofIdGHeV6RZNHI+HcZNSIxvl8 if/8yUyg1G8nG5H8bsm55GPZXCCUldKM7GaJcp2zxuGTI/+uwXd54Cp9vLz3xt1qh1n4 7qxbykvV7wBqe6rRLmLFFFFGY8GHSGdyYUU2GGI5Z3RfYTwuBvJglGehnR4KJ5uHsFD8 ZUkIuYDO3G+OLPsrCf47YFF2y64s0oXe2xYhJMpEsYeMmLoG2/SuzjXUgSBNXg9YBQqP h+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mW7uyOr5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id b17-20020a05600c4e1100b0040d5a5a6d9bsi759774wmq.30.2023.12.26.07.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:56 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mW7uyOr5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5807187874; Tue, 26 Dec 2023 16:48:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="mW7uyOr5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 31AD186F56; Tue, 26 Dec 2023 16:48:43 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 D2427878FA for ; Tue, 26 Dec 2023 16:48:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50e77a2805fso1294159e87.1 for ; Tue, 26 Dec 2023 07:48:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605718; x=1704210518; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bTm8Qd5DwjmGgajInF0kr8Xif9qyGlQgw/tpF6k1o9Y=; b=mW7uyOr5Vz6BPuzvP7g+qavZ8r7aHN+xkYPoHQGzKLNm3L4LBx3/RsQYN1M4K5Mmv0 Z0UiVZ2MLCAlgNncxM2V50Uf4GuwdAJoOOUWoC2iIxL1dmIKuBs1aVxFUQ94HopFsyXW LGkW4Y/BW0OqsrZg6DOJqpQVLBg8vVAXMC8XbkqxcJ2zePr4MOBr3Ub46xYnpueS9WAv EcTC3FAcWQ4VekwwmH46NTL0XhrZemRsoXrm/a1B56imYBk2e4MT2JXj9lNkeQ2+r0o+ 8hfWtt5oQ2wo5n4UFXA0HoIRTRS9s7Bl/NDCumTjSWsHvvubgK4Rq4XtgL8TyvN4j2m+ 0P7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605718; x=1704210518; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bTm8Qd5DwjmGgajInF0kr8Xif9qyGlQgw/tpF6k1o9Y=; b=e6Lix6VGMsfyLTgSNekvHDP0l788HRSG5Y8meiPQs5ZkeHQr6GWcG/9YmHr7AbAA2S dsdc60fcCWgCWr7u9TaMPySQdroJFjdkAeLQ62P71K4ElalWUIX1RJjIUum9SHuIYJcl YFrZxUa8itWOnVIIyxBX6yKuzeqM5zeVCSeltuhZpQru5Y/WvQGf5lcRnV8XtXxcF1oy nhwG19pVGM2hmAjsvULfKO4drPv0fnsHOLDf4zmbhjAoGai7QT7KPN7EtlHBcDOk/r0l 0e1YPt9ADEF6NonODNPMkVRHZkTQ7sC43c6ujaUIPiotp9GN41iqv61ZKEKlvVIFf0H/ 5qLw== X-Gm-Message-State: AOJu0Yx6N2Hn3Z5dfvBqNJpSFbgFztLJMboqQluS+f24EjBeYTi+syxZ 52zhQoweN4VgrBf89pNfeX4VSNhvF4uhrfab4ujMDDwdaC4= X-Received: by 2002:a05:6512:24a:b0:50e:6ed9:445 with SMTP id b10-20020a056512024a00b0050e6ed90445mr1211083lfo.28.1703605718547; Tue, 26 Dec 2023 07:48:38 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:38 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 2/8] net/smc911x: fix return from smc911x_send Date: Tue, 26 Dec 2023 21:46:13 +0600 Message-Id: <20231226154619.5071-3-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean return value of smc911x_send is ignored, but on sucesseful send we need return 0 and or error -ETIMEOUT, not opposite. Signed-off-by: Maxim Uvarov Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- drivers/net/smc911x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 5c5ad8b84a..616b7ce174 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -403,7 +403,7 @@ static int smc911x_send(struct udevice *dev, void *packet, int length) ret = smc911x_send_common(priv, packet, length); - return ret ? 0 : -ETIMEDOUT; + return ret ? -ETIMEDOUT : 0; } static int smc911x_recv(struct udevice *dev, int flags, uchar **packetp) From patchwork Tue Dec 26 15:46:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758379 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131683wrw; Tue, 26 Dec 2023 07:49:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqKpRl9FjWjhJ/7W+X6DU03AqDmgOJlTq3qYUAelUWNOGR5YljjK7FcmCiT7L8uWGPEd6/ X-Received: by 2002:a5d:63c4:0:b0:336:85e3:717d with SMTP id c4-20020a5d63c4000000b0033685e3717dmr4248373wrw.122.1703605748451; Tue, 26 Dec 2023 07:49:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605748; cv=none; d=google.com; s=arc-20160816; b=GIYTBFWxT0+9gYWew0eKRbbkduIp6QfvZs0kSdkxlC493WNxrn29kiA+8ENimnFw1n 9DmXMV6xOpx5nvMqNJYOoyAWinb41Nzb9ZL2iQi+rE22P4V3qUXqVYNcATfgxyxKhcsV WAl8c2lT00/87BlIVxFG42txYCJHCDH7vT73W3IaKODiYn2y7X3657TNbvJtRJDiH882 Fnwwp2EsAwRxVy5BPJT2f1tzBXY+88rWXR4OKyfl8F2JtIgxMvG8VB8c/YBcxhzGgtLD 7g2FpB8tRSfhi6Mcdq9HgG1Z/Jt8lTaFEbUgkpzZtEBd/esVdVEFS9imO2IXFg8Drlq3 Ln6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=JoK5HkhqONhZaRa8PUwLCMJHadJNGiE2qD8o88w8Qd9kmq37u/7/57ok0rIB2Jw8rD 48GZRBKo5IoZGvwcKYxDYgnNC3VLk3M4hXIHhI44p2PtIOBs9g70BHPfvE7mOPG9g226 HzSFeytun7DivdtmO2YNxXtoiSE3i0oXJpzub4kFsyF8ZFmwzXN/96ubQYoMVYx0MwUh irBmjaCnaxlBESXPTIEBzEOnjsk1fhXtuKqcIpyPttSRRMCMPxdYa1oJ7GuDSAxyC7hB D8PyJqW6ZSl0PvssImgmHKN4fdD3/U8VBs0RdGJ4BO3R7BiD+ZTr+Asa+6FwOzZTD+R4 Hilg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lLKLAa5N; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id e18-20020adfe7d2000000b003365fe66d69si5575635wrn.210.2023.12.26.07.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:08 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lLKLAa5N; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BDCD587910; Tue, 26 Dec 2023 16:48:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="lLKLAa5N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 27276878FA; Tue, 26 Dec 2023 16:48:46 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 21E568760D for ; Tue, 26 Dec 2023 16:48:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50e67e37661so3693020e87.0 for ; Tue, 26 Dec 2023 07:48:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605723; x=1704210523; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; b=lLKLAa5NxOtWp3Vx84zMRbPKW1eQ8YZD7EQRSIetN3+L4UDcbZdF5ZeRUz4oeSwkuL W5EZd91yFWxJxIz2891wjhULh6YXbQ8p4SBQYdGt56Tx9flPNyEIdhU4Eol3jVJonuXV rFH19Vsd84Gx/2j/FPVVD4In44jLce9sItToerUzX6s6TyzwdSns8U/EU5GszBD2fBM0 6pBF1SHltZExYcohAdT6OBUbhq0QlK2lbPN5AFP8MeGUWZfqTnZ8AKBNRiFI99AxKFiR 0Yiz9ym/AG5FhTdnuFyzZvSvcEePKndTGjVmqw9q/oB2bkyL1N1AO49ZJJZibsrRN4Fn FOlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605723; x=1704210523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gahorcfoNv+yyzQwl9V0XMJNPRbMhyFuJjPHNmT7iCA=; b=ogPg81FIPzx/jw/WnILZy9V5cV6Uo8fd/hevD61kH29/6h6ZImoSv2t6BMP7f1YSxW ysTkZ11c8DplEgqSnRjhJVUT8qiJ9dtpv0WaJ05nYroRwTuChOEQGxaAOr/PgOvkN1ZQ 4D7w+Q4Ypcnu1WaP9v57dLFiIMPAx0WyxzKJKPFQSeel35PWUyGQLSrE0YBzm1sjhI5a yoeRoSKSEgr5rNU3TvrBo9rb8xLj8Uvpk/9dQ4pYo4vBCssKLgQ/zsLt7r7lq/9caiRz Eprl0CJzCUi9l44Kv8QBVlFggr1xYQUEeKnNO4/4q8f0fS/l0DC91IgcoFQWUmDWCTvS VomQ== X-Gm-Message-State: AOJu0YwR4hQKTLlE1s/6ZkDHNWrLnwykC2veyVsxkI+/7tB6ZfDbbYqM JPcIOg0vU+1XyM3/Yb6Ttal5RgA/krGZnquIVL3rB2aIm08= X-Received: by 2002:a05:6512:61b:b0:50e:76e0:9ef7 with SMTP id b27-20020a056512061b00b0050e76e09ef7mr1294208lfe.99.1703605722629; Tue, 26 Dec 2023 07:48:42 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:41 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 3/8] sandbox: eth-raw-os: successful return code is 0 Date: Tue, 26 Dec 2023 21:46:14 +0600 Message-Id: <20231226154619.5071-4-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean all network drivers return 0 on the successful transmission. Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- arch/sandbox/cpu/eth-raw-os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/eth-raw-os.c b/arch/sandbox/cpu/eth-raw-os.c index e59b96be5f..92c35aed95 100644 --- a/arch/sandbox/cpu/eth-raw-os.c +++ b/arch/sandbox/cpu/eth-raw-os.c @@ -256,7 +256,7 @@ int sandbox_eth_raw_os_send(void *packet, int length, strerror(errno)); return -errno; } - return retval; + return 0; } int sandbox_eth_raw_os_recv(void *packet, int *length, From patchwork Tue Dec 26 15:46:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758380 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131737wrw; Tue, 26 Dec 2023 07:49:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGXOzleLduwLdPQgLHhz+217tlND4vComzurxf4gXavMAfUyHKyCjdLxsS9k5JmApwgKcc X-Received: by 2002:a05:600c:4e8e:b0:40d:55dd:baf2 with SMTP id f14-20020a05600c4e8e00b0040d55ddbaf2mr2491854wmq.25.1703605758993; Tue, 26 Dec 2023 07:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605758; cv=none; d=google.com; s=arc-20160816; b=xayf5EYHvcD/rYSHuU3v8FuvjB930Kg19RqBBfcfID1MPgPGts3dAlO2tptcOKNZM5 gKBNEZl8DWYpg7FnaTz4HUiIGoFw7zhaLC7njXFMSwpLsqRDe0w4NrvDiKAiBCIV1HcB c9khpTfCHTZfrhiZjUI1KdqVyyW/U6s83kgjQQFKrt8U8FI2Fgp8FRxjQUqTLWEoiQza EjcGBxCGGhJm8TcignCOg8m49/y0rvMOmwIATc2PfhzBY1Q5eRNfOjR11S9FA2lH7Sht 9c56fSjSvumQ4z9ytZkiGBsagCmMZp93E7XT2G2LLbM1k+DDZRT/aPTGbEAHpg7Fc3KQ SL7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=npN69VVzc7obA2Z0hr4liDGB2Jr09YIPDZiBD6W8bC8=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=KbIHJFUfxRqU9KwuYv8rRzaI8MB7/1x/GryL2uIyCdcG4Ap/xeXFOwalBGiyLJ2VNQ tBbTmQQd7woTASqmwo9Fyc14AeEKK9QMwCio7Fq9xv7NZ/N1EnXPgc6dK+GU5JffdDRb 6fcuT6MWhx/8BIaiRB5usFayX2w8HEsrv8aDLIJ+7pgJRlY5ukmflLPEn5/4rrBAi7YL svI6JfoibNqJqrLVKsU0OkP3pHdt9FiHCvIGt20beKVCqKZnZQpYvS24MJREr3IqkYB0 ksUGy0HDQZ58pVWGHVp+v0+9oPAosLU9e3Attd3kCDD46mAuuBJuqk7KliXCQa2EQo2f hGuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cw++8Z3i; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id c5-20020a05600c0ac500b0040d5c89e24dsi168646wmr.213.2023.12.26.07.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:18 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cw++8Z3i; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 393868786F; Tue, 26 Dec 2023 16:48:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="Cw++8Z3i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 330E086F56; Tue, 26 Dec 2023 16:48:49 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 3633B878FC for ; Tue, 26 Dec 2023 16:48:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50e81761e43so618225e87.2 for ; Tue, 26 Dec 2023 07:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605726; x=1704210526; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=npN69VVzc7obA2Z0hr4liDGB2Jr09YIPDZiBD6W8bC8=; b=Cw++8Z3iQSoWJb8eTd2D62Z7KTMxweq3bk6fRvV6JWiG+1r7CllXmcSJE2qCrtmtS5 mZvsjsZ3ZmPr3WiRX6jAeMk/6QC1mVbeSFn2HhFirSvwd71s0mBQCF3nOHoJD6JM3SI2 r49W+xC/3pRa0ySEvyxxuyN8RihD74kDir4QESU/xQR71YUjRDBSES9p5vcpnD8/1HQo boMVk14ytZRNninPS4q4Ky4Q2gtDioUBkzhPAo6gC5tWau15s3eg8wC+aZPVM581M9ZS Yoj2KjbW2kYk6b9xZ9qG3qDSmj1F5p8g7j8AXE4/fHnW2gzmHzP/+Xn8uAbOPPxkqdeA cU6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605726; x=1704210526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=npN69VVzc7obA2Z0hr4liDGB2Jr09YIPDZiBD6W8bC8=; b=phHy6uzyZf9BK65uOiuZXw+fwD6DROSBnICxbpdUueKxiqZ58T1Z7v4k+Y1h9+HtWN ZrlMprZu6CAVc6v3/e7s9hhwa0+nFcW7KcTGLSilrgJp26z1NroKnfhGLAD3FpSqVu5J JfJsNBDk+sqcZBhnVgA4miMGg1dRgBIbetClyoyw7huVorNtT/oNLXI+kjzK2NHbkeh4 nxAaBPeeeVMFsaOnzAJRoBl5rTp30IQTLwpCL+v9UZ89cKzOjnzEs7rBhT7u0ooYg4uc BZsWCvK1PhV+DmIuhy7iS1HYJoTlndvJbhdjE3fhV/uOQprgQL9WqvgQ09IUTjFguaMU opSQ== X-Gm-Message-State: AOJu0YzPbenATHPNnULQSlvDsPuLThKLGbfyaksdVM98eV0UrzrhnBbD cM6lmijY64gTXrna9dfAK/0h1hZVXv/vzYy/0R2va6WYJZE= X-Received: by 2002:a05:6512:b84:b0:50e:7d4f:b402 with SMTP id b4-20020a0565120b8400b0050e7d4fb402mr1059388lfv.117.1703605726303; Tue, 26 Dec 2023 07:48:46 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:46 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 4/8] driver/net/rtl8139: remove debug print Date: Tue, 26 Dec 2023 21:46:15 +0600 Message-Id: <20231226154619.5071-5-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean debug print delays reset of the driver. Finally I see bunch of "rx error FFFF" errors in the screen. CI can not handle many prints. While network works fine there Reproduced with: make CROSS_COMPILE=sh2-linux- r2dplus_defconfig all qemu-system-sh4 -M r2d -nographic -serial null \ -serial mon:stdio -net user,tftp=`pwd` \ -net nic,model=rtl8139 -kernel ./u-boot.bin Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- drivers/net/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 106bc1c7ae..d8f24ec81a 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -453,7 +453,7 @@ static int rtl8139_recv_common(struct rtl8139_priv *priv, unsigned char *rxdata, RTL_STS_RXBADALIGN)) || (rx_size < ETH_ZLEN) || (rx_size > ETH_FRAME_LEN + 4)) { - printf("rx error %hX\n", rx_status); + debug("rx error %hX\n", rx_status); /* this clears all interrupts still pending */ rtl8139_reset(priv); return 0; From patchwork Tue Dec 26 15:46:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758381 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131789wrw; Tue, 26 Dec 2023 07:49:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWACSk6bqQTMdhBFqSC53htvO3CY7owxjdEuTe8XAY6fC2tMoZs1ZgJCElFoLIXVI8Mo5k X-Received: by 2002:a05:600c:1e8e:b0:40d:5c9a:d652 with SMTP id be14-20020a05600c1e8e00b0040d5c9ad652mr113661wmb.3.1703605771048; Tue, 26 Dec 2023 07:49:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605771; cv=none; d=google.com; s=arc-20160816; b=QUvTaEqCvmGAqVXUOeEItY1OQcXNiatTaFEtvc99NBSgzsMbwdOMP4O63PIZrTCNKC xIGI/xeK+zwIQQqqsFREKc3HABzKcvC9+KznoMCr47lp/QCzzS6eUueGGFNoyEDpCusI NO2O6zmi0HyA8946nzqW2JiJ7l0geEdSXvYlmaywg51OFGLROEbaDyEpwXRymW6ZBtvW B99ZboQu3QwsuWAOZTa4DYYw4QYHLYcA3zbqXU/jz0dixWkASNsPgowSjIVXIRjiXk+O GEYvV5YG30jifkx5IVj8F39AHafTWG+9AMrVlSYvCNteRPkWlqVLzOAsDLO7s55BDpEO GZIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TzhVvu4KOX9lb9FC/p/xGfIliODPGAPJO6VrkmdDfSU=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=TotwknQYEBHkWSd3I7enIoThnP8LDINz5Fon5Z5l2iv8mfdQZspwbyHv6kCyvAs3uE OqnmoktQ/dIM5PCOwEWHvwo19twooLcEDHw4GGOpL0RdYKSFBEbUZlK7NUxiWfir9bUV rPafj1xaJhqwu0WZtZ6og2uMnJsvFkgcka8sse9a4SOzHsU+qFC7JM5NbSu/hX1iArbF 5pMgqe1cc+Q3n28SewhZSHghPun4TsdZFwPGFmWv++1htJ2B18Jvy363p6H9yjlMOofm yAYoENRgGqzRi2noLXMxxkGct0n+c/gdXWcwYPYpmBKjuniMPj0Pwhfgo/3iHN1ZT16k H+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HKiOmC91; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id c5-20020a05600c0a4500b0040c6334acb6si6204771wmq.196.2023.12.26.07.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:31 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HKiOmC91; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ABB6E878FC; Tue, 26 Dec 2023 16:48:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="HKiOmC91"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E6AD86F56; Tue, 26 Dec 2023 16:48:53 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 7FC1C86F87 for ; Tue, 26 Dec 2023 16:48:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50e49a0b5caso4846504e87.0 for ; Tue, 26 Dec 2023 07:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605730; x=1704210530; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TzhVvu4KOX9lb9FC/p/xGfIliODPGAPJO6VrkmdDfSU=; b=HKiOmC917rwYw/hzb0/cR4H1/c3lZ/kBOfCBGCeJrCidPFNp/PJJzYtUuiytBIzhfU pbkpmM+yr0t1DKBi+Z6LqoFjxYCewyOAxXbHH8JDbSyXqfa3AUXV9jdxTxLDuVfLG0g7 yr0oYbJp04ciwpSpMPxid2RdCrFCQa4uOMhHo5IIGQC0MpViOIcyvzGEDr9IPJwL0c3w r1lxtzIfC6GkJEOf3BJBIGRO/gbnUUwtAEhsu1l+CW6XmU/kBQiHzfdLjH0b215PZWZz hJeZ8vGs6Hn2LTtNAkROj6iEhuFrEZnLT8q/6fK8CZoaECOd9Li5mqMFOcXWgYPIQL1O Z5kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605730; x=1704210530; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TzhVvu4KOX9lb9FC/p/xGfIliODPGAPJO6VrkmdDfSU=; b=B79N1/DBnoFaocz/LiOPKi6OxNvu046Co2lwJ/awFespa8VrfNQNXBowBOhfCs0Mv/ q5rpS/tlRCemT1Qxbc9+roVOqM/m8EhQuxMwkSjGhqkCfeS4uAAcePBT8TOp/5osZB3i 7+5FRPD7mqfDn9QhqiJjtOdu92jx+NpDwzenphnpxcrR8M2Owr3o2Xk0UzeFGBW0KOMT QFVpFwM7DYjBLIQf63O5k4ZdNhRCvRpNQgtnnXGUu5BadAY29Fv6dVUlu0tFwzDyqv8+ L8P+kbeTAUyjh9M0216jXyXd0FxHqfu04/DbFuUU1RFhxMJkSDXO94Y85Q6+8Ln9+MlY s5eQ== X-Gm-Message-State: AOJu0Yzt4FFVp4BR0Na7mtvfwr9RNK0t+VUEfEdl/Bz+HWp6a9TU2fUr EMDjfwQ8bYmbJ9Nbzf0AZpi7Xen73V7DM9Qhejmp8SuGhOE= X-Received: by 2002:a05:6512:1114:b0:50e:84a5:f794 with SMTP id l20-20020a056512111400b0050e84a5f794mr89589lfg.94.1703605730593; Tue, 26 Dec 2023 07:48:50 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:50 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 5/8] mach-socfpga: do not overlap defines with lwip Date: Tue, 26 Dec 2023 21:46:16 +0600 Message-Id: <20231226154619.5071-6-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Fix compilation issue with overlapping lwip and march defines. Signed-off-by: Maxim Uvarov Reviewed-by: Simon Glass --- arch/arm/mach-socfpga/include/mach/handoff_soc64.h | 6 ------ arch/arm/mach-socfpga/wrap_handoff_soc64.c | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h index 902fc6bfb5..9b85e5865b 100644 --- a/arch/arm/mach-socfpga/include/mach/handoff_soc64.h +++ b/arch/arm/mach-socfpga/include/mach/handoff_soc64.h @@ -78,12 +78,6 @@ #ifndef __ASSEMBLY__ #include -enum endianness { - LITTLE_ENDIAN = 0, - BIG_ENDIAN, - UNKNOWN_ENDIANNESS -}; - int socfpga_get_handoff_size(void *handoff_address); int socfpga_handoff_read(void *handoff_address, void *table, u32 table_len); #endif diff --git a/arch/arm/mach-socfpga/wrap_handoff_soc64.c b/arch/arm/mach-socfpga/wrap_handoff_soc64.c index e7cb5ea89c..df0701ec85 100644 --- a/arch/arm/mach-socfpga/wrap_handoff_soc64.c +++ b/arch/arm/mach-socfpga/wrap_handoff_soc64.c @@ -10,6 +10,15 @@ #include #include "log.h" +#ifndef __ASSEMBLY__ +#include +enum endianness { + LITTLE_ENDIAN = 0, + BIG_ENDIAN, + UNKNOWN_ENDIANNESS +}; +#endif + static enum endianness check_endianness(u32 handoff) { switch (handoff) { From patchwork Tue Dec 26 15:46:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758382 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131859wrw; Tue, 26 Dec 2023 07:49:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEP+GprathbeLAhgMvA36tciIn+SfJui1pnf8cVazcLkykiVqt0jU0pGOboxt1Y6f7malDN X-Received: by 2002:a05:600c:168a:b0:40d:4329:d3f3 with SMTP id k10-20020a05600c168a00b0040d4329d3f3mr3614322wmn.22.1703605781635; Tue, 26 Dec 2023 07:49:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605781; cv=none; d=google.com; s=arc-20160816; b=XEqHKE0NdnY91QWHvXSPRyNw8zWzmTfhiMx8N19N20o7PLAU8yohFYegORzMjW6Veg ihEr9SHUDm/PcEOQnG4+yed15J4egOiArB/ff61kapDJ86Vaeq/U9ANGpPp/vJpxC3kt s914de5UrI0VP/9nUZWAvPudlS2tQ3LBI8MWOc3QZJqOgqGChLaC7pl8GEcFy2qsnnD4 q99NtOFUsYFcRHJD3SJLOo6d6Mx+lYlptVqj6bTefnzHWlog8SXnxpWUDv5BJpOdvtNN FwNbrcfb+1D4DgcLK4q1x0A39F6Rx/tkF0cgcW8wwWcTa94t9D7n4mwWWLowaNTWIobM X0uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CvQDLylMZZyItYAARaG/slPihLAB8fb3RjCohXg8958=; fh=du56ke/iOw6lsNCEmJDrBFX+K8LhVFYcHyq+zob6aA0=; b=IS8EywmUBWYRSEGFxwXEF+bHBu5X9bEjD7sG7c0kBHVqlY/NVLqQDey96PTtLC/ich SAIEoeTaTkZ/eO9976p9h1pi2gvIfEXdPXi3ExMZxajDaf72o7njyt1N9mmgjZ+jeR/c bXMFKDrcYA5Pyk5PpoS8iPwR6BWbtU7cfXOxuXVXqAV/m2pGqom2afJOf97OKwbaDL3q CpDXA72OmTlQ/VxzYXaWWuuPSFDI76EEdKgv1DfTq8XrnsnstzHcI/lO3wHt6h3cq4bP kD7UXafk8FXc+8F4cdTy8TlzLGeyWdWbGEq9CZhmGw0oULPjb8njn742UYA6aQvwmsLW oOgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=slb72ob8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id l5-20020adffe85000000b003368bfe2cb7si5011353wrr.84.2023.12.26.07.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:41 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=slb72ob8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2393386F87; Tue, 26 Dec 2023 16:48:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="slb72ob8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AAF6C86F56; Tue, 26 Dec 2023 16:48:57 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 AAFE387968 for ; Tue, 26 Dec 2023 16:48:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50e7aed08f4so1322855e87.0 for ; Tue, 26 Dec 2023 07:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605735; x=1704210535; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CvQDLylMZZyItYAARaG/slPihLAB8fb3RjCohXg8958=; b=slb72ob8ODUgX3OxB7iItdmJ6ng9TuRBVyM1f3y5bRFejpQ2oiJ3DGcw0BUYW33njc fdCthGSKop/tvKHt/a6Bxh92Mv43G/SSrpXPs5R25N7jYgWgBcpa+takxbPCWQ8uV9pL ao56QZSmP2pvBWWwFX9C5eINsA2q14Kn9UnsTIkP1gdG9h0Yz0D8H9ZAGEHbhBrrCQR6 PbHd3oylpewFvduaTa2xN9enzcEwGvt/KwXSmyXBJa+14h4hSLeu4tCeBldNGyVNuM5r AZdk72T6evKB/HzunKRs1J3S12JtMwqmEPUNbpEwFXfTzFiQ8MRpSILTDTWyTCpSGTTo 8Qbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605735; x=1704210535; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CvQDLylMZZyItYAARaG/slPihLAB8fb3RjCohXg8958=; b=SmzxoGU5uLQykME1uOk55JIkO2+93Q4ndVs7TYGL0wrSevCo95OycYLTuhBbbeEFr3 MAWyuSmYqqSvjp9rqdRGXspHjF1MThsKpsvbLgoOcZE4+rPnvWQOs0vPzYuDBETu63cp 2fR+odYnIbGtvIGr/LtgtHoLunb5/g/yHwvlZJEqp2DagBqlPn/ju9OJAoSXgUC1q9P9 iCUymttDkkUweGqh6GXzlkFxD7wrUwqFADxacahfhkB5vLdt/OyCGJ5AkFiihsGkQLTe vMbBixE2f9Bi4FystzSZMmvxwUtUv/7JEMfiNMjp2xqsMTq92sms9wXIybSFujNsQ8fX mgPQ== X-Gm-Message-State: AOJu0YxYD5cZz0dp0SzjGtsNA+lSufPkZ5MWU8pPKT9NP4T1B+ow1wGk BHbXtFjVRJYV1q3rSA1b2G51yLeLYYaJNzSrstcbrJRHXdo= X-Received: by 2002:a05:6512:128b:b0:50e:7f5c:6c7f with SMTP id u11-20020a056512128b00b0050e7f5c6c7fmr1140310lfs.17.1703605734639; Tue, 26 Dec 2023 07:48:54 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:54 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov , Peter Robinson Subject: [PATHv3 6/8] bcm_ns3: use device specific naming for variables Date: Tue, 26 Dec 2023 21:46:17 +0600 Message-Id: <20231226154619.5071-7-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Use device specific naming for variables so as to not overlap with common function names. Signed-off-by: Maxim Uvarov Reviewed-by: Tom Rini Reviewed-by: Peter Robinson --- include/configs/bcm_ns3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/bcm_ns3.h b/include/configs/bcm_ns3.h index 47de4bc201..7c6e0725a6 100644 --- a/include/configs/bcm_ns3.h +++ b/include/configs/bcm_ns3.h @@ -45,11 +45,11 @@ #define PCIE_ARGS "pcie_args=pci=pcie_bus_safe pcie_ports=native vfio_pci.disable_idle_d3=1\0" #ifdef CONFIG_BCM_SF2_ETH -#define ETH_ADDR "ethaddr=00:0A:F7:95:65:A4\0" +#define BCM_ETH_ADDR "ethaddr=00:0A:F7:95:65:A4\0" #define NET_ARGS "bgmac_platform.ethaddr=${ethaddr} " \ "ip=${ipaddr}::${gatewayip}:${netmask}::${ethif}:off" #else -#define ETH_ADDR +#define BMC_ETH_ADDR #define NET_ARGS #endif @@ -749,7 +749,7 @@ OS_LOG_LEVEL \ EXTRA_ARGS \ PCIE_ARGS \ - ETH_ADDR \ + BMC_ETH_ADDR \ RESERVED_MEM \ SETBOOTARGS \ UPDATEME_FLASH_PARAMS \ From patchwork Tue Dec 26 15:46:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758383 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3131925wrw; Tue, 26 Dec 2023 07:49:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9PkZ2TuukB9pRA9SRZLQPg7e7M9VvjAE5gUKpq7YmKyx9GPS7bXVjo0uMdXglNV2mDU6n X-Received: by 2002:a05:600c:358c:b0:40d:5155:6b57 with SMTP id p12-20020a05600c358c00b0040d51556b57mr3086661wmq.35.1703605792385; Tue, 26 Dec 2023 07:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605792; cv=none; d=google.com; s=arc-20160816; b=MPZ6yu463kYAcmiEGhGA30m8cjKCi8o0DUBaANrKlr38oyJq6pHdlNeSqiSJ4D/hYd 8FR3idysljU0rFLhvSnrlZGsF1pWralcNWRd3ZOwyE6nhKlZdMtpMHtmG0o3EwoxnvM4 Nc4zs29HWTBoqQFh8ZUHOzDZgKsZtjI+RPUvyz+ttQcgqqR3lQ0UoWuOg0YdKRBsScho My86BK9maS2eR9oXmzw6rZqonGufqITnWVMJZyLwvi/H2ZMrO923jhMkJqGNK4euBDJN gMdqlJ5Wqc4XsAfRMq4kN3g60StfDgazvRI/1RXTy26fCbCj2DisrLmsoZEB+ldEx6im 3E8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mVSeNbQ8D1ZRK64eIrAXj0cWWWd2vM9c4djrpvxOh3I=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=FaQkFU1zswwSg3H+SLjLNrf8oExoBvVFQwWBf0efxgLib44G2xm0AYfS3saKKSHb/g yAHZnc+R29ZlHx8Y4fvf5EyM6S9yXhA2duDyN1J+k3C5ej0lWkaNzUv8th7rZQxIoPHL 0GpmrJS6WXyqQaa8eCtz4P2yfQU/yqr7ZKxAy1Zx8YyMPtLRrU73Fy7S3qnQ7//gHS6U c9biCU9y2WHbASHEZ6mEZlyBmlfH7X8ExDej2gdiDLblH+/h9NHQUdoxU5MbsRZW1EG/ 1+BgP5gYHp8qCWBDAyVV8vJ0+ss6BuUOGp+gHgqse62ByvLDgSmJIxBwvXGBxopWt44L Wo0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xMfCxZG9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id h4-20020a05600c314400b004090e4d49c3si8408087wmo.205.2023.12.26.07.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:52 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xMfCxZG9; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A1F4087987; Tue, 26 Dec 2023 16:49:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="xMfCxZG9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B0B1987986; Tue, 26 Dec 2023 16:49:02 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 2C93E8797A for ; Tue, 26 Dec 2023 16:49:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50e7aed09adso1388179e87.0 for ; Tue, 26 Dec 2023 07:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605739; x=1704210539; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mVSeNbQ8D1ZRK64eIrAXj0cWWWd2vM9c4djrpvxOh3I=; b=xMfCxZG9KSElTDIEilibx7y77VyD3Dv3p9CxbORAHg7nSk0PFyi6RG/tp/rUFPiHfh fRGNbWN3dBx+DLkcK8skKDj8qLOYKzplYtKUtOeSh7wBcXoeUsC+PRZF2h3JfunfRK/E 53b1p4nCbX2fwrZx0TMBPhcG0c70+exqm6h+3MEU3t7UZBNf51ZYTM3u7dgOa6iQbZE/ b3L/V2HfB0JhAzwtyGL2/5PRGH1l2FA02bsRAGow3X7Q20dD6VfMQ47B2nVbu8itNFGz eti+Rf8hgMPsX6OkKBiah7VWv7I1643etN+OQDv5+H9uE+xx8zkMwR9Yg9Jd850rDw8a x35g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605739; x=1704210539; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mVSeNbQ8D1ZRK64eIrAXj0cWWWd2vM9c4djrpvxOh3I=; b=AOzWQzC7eRbzqJLu1E7ACxbW2/WUvehI7drTk2LEFwz3/OD9vrBSNfl/uxV9lF0CHr leKtd3cGVGEcMa5XfMZ08f6y/QaSMF36LG7PAYCT8oM+4hwAFez7MNgEBQpZSHZke/CC z6v10mCMHwGRyni12pRMQMqLfhwMEkT0ky+fba9SABnA/1uvcknKYgcCPxG8eKfuZI/B Wkqd6DRuQ0rZhOeErHqMWjVSms4k0QBKtPOMxRGHD2gnmqMW8fXHsxDUfeoL50SjE+Qw mTAoV/Bw4s0/X6Q8xd3D2SjobPNOd+VtZ4KhZnw0GATZWH13W2pDsJ/ycdFIQo8TlrUj 9tmA== X-Gm-Message-State: AOJu0YyoiMmidi954CNqZxA/9nx6hcDC4HQ+4hK+FVohcfd4QfmJCOzt o3gwB7xMFghry22euZ3ce7uX2J9qo08NOEAtzRFxgwsCwgU= X-Received: by 2002:a05:6512:23a2:b0:50e:464c:e9d with SMTP id c34-20020a05651223a200b0050e464c0e9dmr3648522lfv.101.1703605738795; Tue, 26 Dec 2023 07:48:58 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:48:58 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 7/8] omap3: use device specific naming for mem_init Date: Tue, 26 Dec 2023 21:46:18 +0600 Message-Id: <20231226154619.5071-8-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Use device specific naming for functions so as to not overlap with common function names. Signed-off-by: Maxim Uvarov Reviewed-by: Tom Rini --- arch/arm/include/asm/arch-omap3/mem.h | 2 +- arch/arm/mach-omap2/omap3/board.c | 2 +- arch/arm/mach-omap2/omap3/emif4.c | 4 ++-- arch/arm/mach-omap2/omap3/sdrc.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h index 569779c55e..fce3568eca 100644 --- a/arch/arm/include/asm/arch-omap3/mem.h +++ b/arch/arm/include/asm/arch-omap3/mem.h @@ -475,7 +475,7 @@ enum { #ifndef __ASSEMBLY__ /* Function prototypes */ -void mem_init(void); +void omap3_mem_init(void); u32 is_mem_sdr(void); u32 mem_ok(u32 cs); diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c index 8b70251457..c76a95dd5d 100644 --- a/arch/arm/mach-omap2/omap3/board.c +++ b/arch/arm/mach-omap2/omap3/board.c @@ -216,7 +216,7 @@ void s_init(void) void board_init_f(ulong dummy) { early_system_init(); - mem_init(); + omap3_mem_init(); /* * Save the boot parameters passed from romcode. * We cannot delay the saving further than this, diff --git a/arch/arm/mach-omap2/omap3/emif4.c b/arch/arm/mach-omap2/omap3/emif4.c index 7e5a281922..4fbfb387ab 100644 --- a/arch/arm/mach-omap2/omap3/emif4.c +++ b/arch/arm/mach-omap2/omap3/emif4.c @@ -159,10 +159,10 @@ int dram_init_banksize(void) } /* - * mem_init() - + * omap3_mem_init() - * - Initialize memory subsystem */ -void mem_init(void) +void omap3_mem_init(void) { do_emif4_init(); } diff --git a/arch/arm/mach-omap2/omap3/sdrc.c b/arch/arm/mach-omap2/omap3/sdrc.c index 5d43e7c9cf..4d27d82c78 100644 --- a/arch/arm/mach-omap2/omap3/sdrc.c +++ b/arch/arm/mach-omap2/omap3/sdrc.c @@ -4,7 +4,7 @@ * * This file has been created after exctracting and consolidating * the SDRC related content from mem.c and board.c, also created - * generic init function (mem_init). + * generic init function (omap3_mem_init). * * Copyright (C) 2004-2010 * Texas Instruments Incorporated - https://www.ti.com/ @@ -232,11 +232,11 @@ int dram_init_banksize(void) } /* - * mem_init - + * omap3_mem_init - * - Init the sdrc chip, * - Selects CS0 and CS1, */ -void mem_init(void) +void omap3_mem_init(void) { /* only init up first bank here */ do_sdrc_init(CS0, EARLY_INIT); From patchwork Tue Dec 26 15:46:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 758384 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp3132010wrw; Tue, 26 Dec 2023 07:50:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDV9IDhNFKO59YXVujXWB1/PMQ7c0b/p7ASQZ498xjLOVPvq0PLIpOqG0KzKkGF8st8XOO X-Received: by 2002:adf:ee87:0:b0:336:67b6:9bd8 with SMTP id b7-20020adfee87000000b0033667b69bd8mr4163392wro.32.1703605803296; Tue, 26 Dec 2023 07:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703605803; cv=none; d=google.com; s=arc-20160816; b=TC0fDjpQXyPqQqciIXnaAF4rQSGs8NFK4w+dGAxtu09xDi7lFqudFbinkXdvHtKGEc riAVImUR1uASQP6+2QqDHa9ujusC4t9HAHmRnew5XiHGikkyMD3L/NUfMOsMBj8YWTzj V3fgxD6JNDtJlReTIRI0pltfHdimdF1IXp7XikbOpN49yoqlwFMKAh8fzGMEuPWVXI0a xgGRxmFSrKnDgDUj/ZNmJbxQ1AhlWb2cUZHMX8NGzYMJ4ybdnBF9xLEUBvPYAwQxivSo m3h9GHQD+iPR4EcvUDdHZUr1Dt3jTW+r92L+EcjizCdqckMsKvvQHMw1nn4/+ge7p7jc YMNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Pf6x698dLaZJBSsZFkaInNZGzkRaXpfYDKp15lohVD4=; fh=al8TO5kxNSCLdK6Wct4/S1Ky9QCKGaknFfrx/Rr/20U=; b=xC803y3TTq4Lg2PMuT5f91w87FTUVoXT5UG30Xu09CZSKYDkUV5Xs/P9jT38rosbl2 dJoZ4j1uLRBZXK+bU5xf3+Wtv1YdWlRcjoodzrvkK54Iq5D94oPog+b10V6LFZqcHbm8 QU2Le8ZNLQgNp5lSLM2zQ9l4uCTP9Kk+/jMWIF1pWMfQX67UbLJSyr+1VkdiPad5/QFP OD3LUpy/47MuDD0j+7RiPGjkeYum3NGNbXZ1kOpQwk1kYi2DWYk+HzRupQS2nqe9GYj0 1A7rmZN7t8h0Y+GMYeVO+gh7OgKa0NTxXYIundRd26j6Mn7CMS0mNNjX2AmcQfDVaypP dFXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kgMIx6DV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id k14-20020a056000004e00b00336a58014ecsi3535828wrx.528.2023.12.26.07.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:50:03 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kgMIx6DV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2AA838796F; Tue, 26 Dec 2023 16:49:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="kgMIx6DV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F22218796F; Tue, 26 Dec 2023 16:49:06 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 9B4D58797F for ; Tue, 26 Dec 2023 16:49:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2cca5e7b390so37874281fa.3 for ; Tue, 26 Dec 2023 07:49:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703605742; x=1704210542; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Pf6x698dLaZJBSsZFkaInNZGzkRaXpfYDKp15lohVD4=; b=kgMIx6DV9W089eDRRGhSr7r/fpWh5N16q85UftXeM6iM3qomZUtHZ53zMmeYqJegH6 IV1moW57GmEDRzpGJh1itlZC1ly9PhI67Gy+/eKUMq3AyAl+Hb6Byr6z7C7irorqqkS0 GwHALvhlx5IhvjYxpAkdV7NOmAG4P+9ORtFGvknEDXpceKPiKwP9WGMWSerOWpu7f0bQ 9iWmGeJ7NYQ0m4lzSwxujNcDRqqzZcPH6xtUuwydYtTN3glDPkYdz9aapgkWWNvgkNJi Ca8V5zN5sbU3JCVpGtlrMgfkLnh3sKDeeHt14EY0deJtSSDr+AW/Cz0n9e8QLlFb2g4P VLww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703605742; x=1704210542; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pf6x698dLaZJBSsZFkaInNZGzkRaXpfYDKp15lohVD4=; b=QfIm1z5LDn9c/lQnh18CEOg5M3WHJYSNicD6VHdlgnOXmWnOazZ0M+8kSpw32CXYp/ FBHbmDdlJTdyTp/68Zbpg8Z4cpKNFqQVEfkjCnytjStVbzVNYOpTe3IQWtjzHYHNf39t oj3BPHXwr4JzPzv/LyzQeJmTXlcCyD+w9IQYmXahl0BDE3czZmdefe3FxLDTqP0N77Ci elWw/hgItNjo4UpeYUhAHnXE3kgP05Uo02RaDIMavX1i8hHqzhlJwnorkwYzrcUcmb/P W+PNdobJbzKhWwK9rSjhenXKjnyuWEJIlM5oQEPAsTiJizWe0w9MzR/M9Wp9dJOndo1/ 1BbA== X-Gm-Message-State: AOJu0Yzp+M+nMMmNSIeudRAyFpxW2j6+g4PmmU8L/KNC9+0oBUh7yL22 y3ml0gclcYQufXZ1VkhMGM+AvMm4gDahqgr0PvyaAgpPWf4= X-Received: by 2002:ac2:5b9b:0:b0:50e:71d4:c76d with SMTP id o27-20020ac25b9b000000b0050e71d4c76dmr1829016lfn.109.1703605742305; Tue, 26 Dec 2023 07:49:02 -0800 (PST) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id d25-20020a0565123d1900b0050e743b0b2csm1089336lfv.34.2023.12.26.07.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 07:49:02 -0800 (PST) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: simon.k.r.goldschmidt@gmail.com, tien.fong.chee@intel.com, sjg@chromium.org, joe.hershberger@ni.com, rfried.dev@gmail.com, bharat.gooty@broadcom.com, rayagonda.kokatanur@broadcom.com, trini@konsulko.com, Maxim Uvarov Subject: [PATHv3 8/8] Makefile: add dtbs to clean Date: Tue, 26 Dec 2023 21:46:19 +0600 Message-Id: <20231226154619.5071-9-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231226154619.5071-1-maxim.uvarov@linaro.org> References: <20231226154619.5071-1-maxim.uvarov@linaro.org> 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.8 at phobos.denx.de X-Virus-Status: Clean CI test checks that generated dtb has to be cleaned up. Use the same clean procedure as Linux top level Makefile has. Signed-off-by: Maxim Uvarov Reviewed-by: Tom Rini --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 220411a293..b443831a93 100644 --- a/Makefile +++ b/Makefile @@ -2195,6 +2195,8 @@ clean: $(clean-dirs) @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ -o -name '*.ko.*' -o -name '*.su' -o -name '*.pyc' \ + -o -name '*.dtb' -o -name '*.dtbo' \ + -o -name '*.dtb.S' -o -name '*.dtbo.S' \ -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ -o -name '*.lex.c' -o -name '*.tab.[ch]' \ -o -name '*.asn1.[ch]' \