From patchwork Mon Nov 15 16:08:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1555378 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HtDdg0Gtrz9sR4 for ; Tue, 16 Nov 2021 03:08:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 391AE8378A; Mon, 15 Nov 2021 17:08:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 75CB083796; Mon, 15 Nov 2021 17:08:42 +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=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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 B99AB836C1 for ; Mon, 15 Nov 2021 17:08:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f174.google.com with SMTP id m25so16011457qtq.13 for ; Mon, 15 Nov 2021 08:08:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gXI0T4+om6Cg5jEPwZ8KIu7XDfpl1L7FKd2C0goXzQM=; b=inYWk2hfY+IRUZjNo1XvUSVarLYVLd+ofFUALWcBd0C52qJRcix5+SB1ZcvAyReznj OFcD9bzA4nfp2kZQ4CkS2Jj4ePgbI2QCW6UrD14A0TZqtno9HlHLYv4PZ0W8Yh4+maZE R5LuUXfWLfCIPdGq6GULkId3Nu/AmD2wQwmT10J72PeP2wNB9Gn75iH+xYKpEFk6py4p fAFSQeWUE1AanLHcYrso8Tqbf3Qei/7kuASrjHfeEgrmrARWlPgNzTMo8zb0mafIQXeo gwzpzQ7j3dp3G5HBOJayVFD+sX0hykay0fRuNvUJqHNOul9M2LS7/lttIc0yz8DoQK1i ZgXQ== X-Gm-Message-State: AOAM533fN8aBkdwqpw8/kwKMd/NEEjko/zpz1cnm4R88OfX0pHTbOKC9 vJxYeuNTux6bDdvMVaI7AVvi2nimRA== X-Google-Smtp-Source: ABdhPJxFcrqt5f+vWXgAWTW1a+GQN0R2lYnY8Sm/xgkSGLAyIFxJf2UmTsS9JZQIxaBlBRLmgoJk+g== X-Received: by 2002:ac8:7fd6:: with SMTP id b22mr156511qtk.26.1636992517192; Mon, 15 Nov 2021 08:08:37 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-24a1-dfd8-1438-caaa.res6.spectrum.com. [2603:6081:7b01:cbda:24a1:dfd8:1438:caaa]) by smtp.gmail.com with ESMTPSA id n19sm1348838qta.78.2021.11.15.08.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 08:08:36 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Neil Armstrong Subject: [RFC] libretech-cc: Disable CONFIG_NET_RANDOM_ETHADDR Date: Mon, 15 Nov 2021 11:08:33 -0500 Message-Id: <20211115160833.2306958-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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.2 at phobos.denx.de X-Virus-Status: Clean This board has a persistent ethernet MAC address and does not enable USB gadget ethernet support, so does not require this functionality. Remove it. Cc: Neil Armstrong Signed-off-by: Tom Rini --- As mentioned in https://lore.kernel.org/u-boot/f6aead46-f220-ff51-f70d-de95daac9840@xilinx.com/T/ it seems many boards are enabling CONFIG_NET_RANDOM_ETHADDR and don't need it. I have a libretec-cc (v1, not v2). Given a "nowhere" environment and persistent ethaddr before/after this change on my board, I believe this isn't needed here. I suspect it's not needed on a whole host of amlogic boards I don't have as well. --- configs/libretech-cc_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/libretech-cc_defconfig b/configs/libretech-cc_defconfig index b729308c8eeb..b4413ed9b7ff 100644 --- a/configs/libretech-cc_defconfig +++ b/configs/libretech-cc_defconfig @@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_REGULATOR=y CONFIG_OF_CONTROL=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SARADC_MESON=y CONFIG_MMC_MESON_GX=y CONFIG_PHY_MESON_GXL=y