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 C44BAC4332F for ; Tue, 13 Dec 2022 14:29:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 680B9854B0; Tue, 13 Dec 2022 15:29:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="A2uwJcae"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0DB318549B; Tue, 13 Dec 2022 15:29:21 +0100 (CET) Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) (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 6135C8549B for ; Tue, 13 Dec 2022 15:29:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-vk1-xa34.google.com with SMTP id g137so1607100vke.10 for ; Tue, 13 Dec 2022 06:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=w/mh2o8FERUDLMvAlNG99TykaxXLSf9oEgGXaiGCV7I=; b=A2uwJcaePYqHeGQBHJNoOIZMvQ/93rkHWN4CY1iQ/p+kBwJsh0d7coz/8UHUNlRNiH 8P13sRmvuEM9xZUl+vuuxzWduRwsV3lQv4H6GV9yqhe8cabBB6SSpm9NnjRWvd0bAnhx RHntJZ5BAmDCndn4SGih1az274LQDbwhEwwWs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w/mh2o8FERUDLMvAlNG99TykaxXLSf9oEgGXaiGCV7I=; b=7Ci0/+1+zOjcZnSGZW+72/okklk9HvAEl3FJ+Zgr0F0P/kbx+FApC+8nY2X9+hAW/p dGtY4wpVDqh3XI0wB5DW52CGL4EMeSN+nLBAsPtY0gJ0dkPFxbU98WnYjyM6cWKb8n+T OR6Rq31RlJ4oceT1UX0qIqLZhbnXEb85N/vsgWLLCyuBd7YwnbZZw6pmGoZMFXzXEH3x aCHl5umBDwxzuuuWwCiC3mYX6KfJvv5lX+npykdjSin9SwyzxdDW70ME8vKvOiqZ2Dm7 BoQikup9dIadTs7CT+CJPtkuzZsMLfmnguYSyFHnFkl6YK2cq9tlBMGoM4sCSZXMizgL tjcA== X-Gm-Message-State: ANoB5pm4+nqDx86yZu88ZpIK3Kjt8r4175aTe7qyZOtR2yk4+h0ocOYg Yp3armUt1vFV3uOmio1mhfEEuIxskMPl0hI1 X-Google-Smtp-Source: AA0mqf4PsB8jaSi9SuHSnefuMF56/MhymDHafL4yt/yMJplNyAn+nUkaEbMO3BooU3Xhwea0FS2wFg== X-Received: by 2002:a1f:b283:0:b0:3bd:e14b:424c with SMTP id b125-20020a1fb283000000b003bde14b424cmr11037659vkf.7.1670941757018; Tue, 13 Dec 2022 06:29:17 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-09de-b540-f7da-b28e.res6.spectrum.com. [2603:6081:7b00:6400:9de:b540:f7da:b28e]) by smtp.gmail.com with ESMTPSA id y5-20020a05620a44c500b006f956766f76sm8185217qkp.1.2022.12.13.06.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 06:29:16 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Neil Armstrong , Quentin Schulz Subject: [PATCH] Revert "cmd: pxe_utils: Check fdtcontroladdr in label_boot" Date: Tue, 13 Dec 2022 09:29:15 -0500 Message-Id: <20221213142915.1287986-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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.6 at phobos.denx.de X-Virus-Status: Clean With the change here, all extlinux.conf files with only "KERNEL /fitImage" don't work anymore. One common example of this would be those files generated by thee Poky/OE WIC bootimg-partition bootloader partition generator. This reverts commit d5ba6188dfbf6bb68354bec86e483623f1f6dae2. Reported-by: Neil Armstrong Reported-by: Quentin Schulz Signed-off-by: Tom Rini --- boot/pxe_utils.c | 8 +------- drivers/net/tsec.c | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index 8133006875f9..96528aa14c03 100644 --- a/boot/pxe_utils.c +++ b/boot/pxe_utils.c @@ -616,10 +616,7 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label) * Scenario 2: If there is an fdt_addr specified, pass it along to * bootm, and adjust argc appropriately. * - * Scenario 3: If there is an fdtcontroladdr specified, pass it along to - * bootm, and adjust argc appropriately. - * - * Scenario 4: fdt blob is not available. + * Scenario 3: fdt blob is not available. */ bootm_argv[3] = env_get("fdt_addr_r"); @@ -724,9 +721,6 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label) if (!bootm_argv[3]) bootm_argv[3] = env_get("fdt_addr"); - if (!bootm_argv[3]) - bootm_argv[3] = env_get("fdtcontroladdr"); - if (bootm_argv[3]) { if (!bootm_argv[2]) bootm_argv[2] = "-"; diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index d69a9ff47736..519ea14b070e 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -156,7 +156,7 @@ static int tsec_mcast_addr(struct udevice *dev, const u8 *mcast_mac, int join) return 0; } -static int __maybe_unused tsec_set_promisc(struct udevice *dev, bool enable) +static int tsec_set_promisc(struct udevice *dev, bool enable) { struct tsec_private *priv = dev_get_priv(dev); struct tsec __iomem *regs = priv->regs; -- 2.25.1