From patchwork Wed Nov 21 19:29:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Niestroj X-Patchwork-Id: 1001362 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=grinn-global.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 430Xks6DY7z9s3l for ; Thu, 22 Nov 2018 06:31:49 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 71D1EC223A2; Wed, 21 Nov 2018 19:31:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 74F25C223C5; Wed, 21 Nov 2018 19:30:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 547F0C223AA; Wed, 21 Nov 2018 19:30:04 +0000 (UTC) Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by lists.denx.de (Postfix) with ESMTPS id 2B39BC2239E for ; Wed, 21 Nov 2018 19:29:58 +0000 (UTC) Received: from [95.143.241.142] (helo=localhost.localdomain) by smtp.megiteam.pl with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gPYCB-000367-Um; Wed, 21 Nov 2018 20:29:56 +0100 From: Marcin Niestroj To: Stefano Babic Date: Wed, 21 Nov 2018 20:29:44 +0100 Message-Id: <20181121192944.10563-4-m.niestroj@grinn-global.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181121192944.10563-1-m.niestroj@grinn-global.com> References: <20181121192944.10563-1-m.niestroj@grinn-global.com> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 3/3] ARM: liteboard: use random ethaddr X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" There is no ethaddr assigned to each board, so we need to use random value in order to use network. Signed-off-by: Marcin Niestroj --- configs/liteboard_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/liteboard_defconfig b/configs/liteboard_defconfig index 3d1b35918c..dad619e0ad 100644 --- a/configs/liteboard_defconfig +++ b/configs/liteboard_defconfig @@ -32,6 +32,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx6ul-liteboard" CONFIG_ENV_IS_IN_MMC=y +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y CONFIG_DM_MMC=y