From patchwork Mon Dec 17 11:51:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1014439 X-Patchwork-Delegate: uboot@andestech.com 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=none (p=none dis=none) header.from=brainfault.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=brainfault-org.20150623.gappssmtp.com header.i=@brainfault-org.20150623.gappssmtp.com header.b="ugFR9BD0"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43JKLT6SnXz9s2P for ; Mon, 17 Dec 2018 22:53:53 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 8D4DFC22077; Mon, 17 Dec 2018 11:52:59 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 3EF11C22030; Mon, 17 Dec 2018 11:52:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 54750C22041; Mon, 17 Dec 2018 11:52:15 +0000 (UTC) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by lists.denx.de (Postfix) with ESMTPS id 15045C21FE0 for ; Mon, 17 Dec 2018 11:52:12 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id e5so6032446plb.5 for ; Mon, 17 Dec 2018 03:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OKS7a5yUoM+dy3XEWRN80phlaOXu1AMe9Uvl+URvtgo=; b=ugFR9BD0+KGbTONopP73cogZ9l4f0dhsfwmc/QgRkx6s/GtwuEmm4823d0TgNAt1EC vN/7zNVGgF0EVvO465KPsolBeEj/n4v6x/ufRbPj8mDKtZwcVEhO0q4Cgi8LsKPHfDAP sVp05NOZBICjqIMklsiOCkIyGCPS2rNr4lfYNnehZsp4Kiv4RPiobETVNwCly7Gcjx2/ sdYFA7UBLXnOdE911MbeWITXeyKUXx3nyo0xbGOXK1wbRMeaD+IcpXna71/z4s4TQ/r+ hhtiYPGkhXZKWHaaS/+gpMmM6oUK2woBtC6uMHw50M9Kq4Bzgoee9Eya6m/PZCDg2Axz FWRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OKS7a5yUoM+dy3XEWRN80phlaOXu1AMe9Uvl+URvtgo=; b=EwcErFjY2cOoS/Ku4nbaFGhw3oV0wv4OELaQT4UytcKAicOZVui3FQxUgiU6DJDDJq DMIR0VAV/Ufxvs03eKGxai/y0xXWRiDamp7IMwnWwK/kG/CnAl3L5vWDQvjafwumNeJW TIUnprVshxy7R2Q6cVBnQ6MvwoDpDPfAzvxe2jXNKVre5hdf7O3C26MF1Hgm/HY+vpGg /GroJA/5C/4i1n1iaYYvwJzTZydXZOKkigQSnyudxoJzpx5q0xnUphU56v2nxAzW2mMu vJ5a01GBkiyUo4cDnU4sZCt/7jgYLic6T2IARlZaKrffB/yUNGmuZsHrmwC6d6X7oHBo fSCQ== X-Gm-Message-State: AA+aEWbnbvf1wu2D5gy0jsNn8ybzzYzTqw9EjYEvjUwWO73f1UM9g9uR wKoxeXdMw7tcbRgZdqRVmqOdKA== X-Google-Smtp-Source: AFSGD/Uq6FB7D8420oPQhAoVnrxq74AueiEXoYXkrbIlcaqHnxV5B1J/IA8B4euI25hcjY/2AHIbvQ== X-Received: by 2002:a17:902:830a:: with SMTP id bd10mr12505096plb.321.1545047530609; Mon, 17 Dec 2018 03:52:10 -0800 (PST) Received: from localhost.localdomain ([49.207.49.69]) by smtp.gmail.com with ESMTPSA id e16sm16068610pfn.46.2018.12.17.03.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Dec 2018 03:52:09 -0800 (PST) From: Anup Patel To: Rick Chen , Bin Meng , Joe Hershberger , Lukas Auer Date: Mon, 17 Dec 2018 17:21:43 +0530 Message-Id: <20181217115143.18373-4-anup@brainfault.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181217115143.18373-1-anup@brainfault.org> References: <20181217115143.18373-1-anup@brainfault.org> Cc: Palmer Dabbelt , U-Boot Mailing List , Anup Patel , Alexander Graf , Christoph Hellwig , Atish Patra Subject: [U-Boot] [PATCH 3/3] riscv: qemu: Imply MACB ethernet for emulation 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Anup Patel This patch enables Cadence MACB ethernet driver for QEMU RISC-V emulation by implying MACB, MII, RGMII and NET_RANDOM_ETHADDR on BOARD_SPECIFIC_OPTIONS. Signed-off-by: Anup Patel Reviewed-by: Bin Meng --- board/emulation/qemu-riscv/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 0d865acf10..5d9611bdc7 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -34,5 +34,9 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply BOARD_LATE_INIT imply OF_BOARD_SETUP imply SIFIVE_SERIAL + imply MACB + imply RGMII + imply MII + imply NET_RANDOM_ETHADDR endif