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 2447BC6FA8E for ; Tue, 27 Sep 2022 11:33:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 965B984BD6; Tue, 27 Sep 2022 13:33:12 +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="fEFXIZad"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6FC8D84DD8; Mon, 26 Sep 2022 16:36:07 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (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 AD51684C98 for ; Mon, 26 Sep 2022 16:36:04 +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=dinguyen@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 0648260DEB; Mon, 26 Sep 2022 14:36:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B9F0C433C1; Mon, 26 Sep 2022 14:35:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664202962; bh=JdWIHMwKg/MpI0rMNIGv9C15e6r6Py6UxqS4vLaU3/8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fEFXIZadfQ0gvWPf2Ea6Pq0JHeOIfo43FzArGO0RRuG/RzLEFgXOBIl/qB01XZ2Ce jmGDw2E6lz/yCJhUgyUZxD6rYipDAyc5yc4b19DC2PYahRdhT5grnwuf51JrJeabOT Y6XPgc7OCcRbZbfrFhxsX8hVivLiGTRxCkDIIyccJfZWh0vhmjVAgHLohS5FbHeVwM uLePuIfnG8touqkS1t11H2GYhEExSQXph0o+QkLAkS/WSSyErRtTP1YLLJec3/gOCF Y9NGXEY52ZWCqgjs4mZ44sqibQSkCfiKo0NVZqg/Qb7Lo/BP8PSl71qJlzCgvBMO8c MODNCOD2fDi3w== Message-ID: <54dac1c7-53a1-1c2e-ff76-64fb97bc5a1b@kernel.org> Date: Mon, 26 Sep 2022 09:35:53 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] configs: socfpga: Add CONFIG_NET_RANDOM_ETHADDR=y to SOCFPGA defconfig Content-Language: en-US To: teik.heng.chong@intel.com, u-boot@lists.denx.de Cc: Chin-Liang See , Marek , Simon , Tien Fong , Kok Kiang , Siew Chin , Sin Hui , Raaj , Dinesh , Boon Khai , Alif , Hazim , Jit Loon Lim , Sieu Mun Tang References: <20220925143743.17636-1-teik.heng.chong@intel.com> From: Dinh Nguyen In-Reply-To: <20220925143743.17636-1-teik.heng.chong@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 27 Sep 2022 13:33:11 +0200 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 On 9/25/22 09:37, teik.heng.chong@intel.com wrote: > From: Tien Fong Chee > > Ethernet initialization is only work with properly set MAC addresses. > Hence, this config is required to create the random MAC addresses > for Ethernet initialization. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Teik Heng Chong > --- > configs/socfpga_arria10_defconfig | 1 + > configs/socfpga_arria5_defconfig | 1 + > configs/socfpga_cyclone5_defconfig | 1 + > 3 files changed, 3 insertions(+) > > diff --git a/configs/socfpga_arria10_defconfig b/configs/socfpga_arria10_defconfig > index 3eac3dfa5d..53c01ff659 100644 > --- a/configs/socfpga_arria10_defconfig > +++ b/configs/socfpga_arria10_defconfig > @@ -60,6 +60,7 @@ CONFIG_PHY_MICREL=y > CONFIG_PHY_MICREL_KSZ90X1=y > CONFIG_ETH_DESIGNWARE=y > CONFIG_MII=y > +CONFIG_NET_RANDOM_ETHADDR=y > CONFIG_SPI=y > CONFIG_TIMER=y > CONFIG_SPL_TIMER=y > diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig > index dbadb3d49a..da25aa9154 100644 > --- a/configs/socfpga_arria5_defconfig > +++ b/configs/socfpga_arria5_defconfig > @@ -63,6 +63,7 @@ CONFIG_PHY_MICREL=y > CONFIG_PHY_MICREL_KSZ90X1=y > CONFIG_ETH_DESIGNWARE=y > CONFIG_MII=y > +CONFIG_NET_RANDOM_ETHADDR=y > CONFIG_DM_RESET=y > CONFIG_SPI=y > CONFIG_CADENCE_QSPI=y > diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig > index 4fd14d2e2c..508bfe31fc 100644 > --- a/configs/socfpga_cyclone5_defconfig > +++ b/configs/socfpga_cyclone5_defconfig > @@ -64,6 +64,7 @@ CONFIG_PHY_MICREL=y > CONFIG_PHY_MICREL_KSZ90X1=y > CONFIG_ETH_DESIGNWARE=y > CONFIG_MII=y > +CONFIG_NET_RANDOM_ETHADDR=y > CONFIG_DM_RESET=y > CONFIG_SPI=y > CONFIG_CADENCE_QSPI=y Acked-by: Dinh Nguyen