From patchwork Mon Jun 17 19:29:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loys Ollivier X-Patchwork-Id: 11000347 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A845313AF for ; Mon, 17 Jun 2019 19:30:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9875028784 for ; Mon, 17 Jun 2019 19:30:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89E0728906; Mon, 17 Jun 2019 19:30:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 29ABA28784 for ; Mon, 17 Jun 2019 19:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qE7Fp/AIjodA/HAVmBfHxBL3UqeKyntisYRWE9yKOII=; b=lAawBmogOB5YU/naNJO4P5G5SZ 4ZU3QuynjI8GfuI7P0bVEezzsQtQXUwkBoqm9xAC3qDV3FYYhYkMEiWLVDZIcUUU1G2rEJO7U3+az AnyPCPXA67QY9db/B4bPAuNaNmf3yt9cQkib81csVqIsULjSf/fC2bs9BLqsa6sl0c/5wfC19IbXk 5rgbqgnAO1HW8e0WGqimg983vGuG7BYQpRPHOqO0en+w1koOU43q5NAQcJyGCqF/MZ/gsiL0MFe0V 4D836oTVX+cfFUSJNCGIROZVtLHDCPBcYdNC1ojnqU3lqkWBvLBhdVXkVUpZindLOcoA04giXj054 3gJOptHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKN-0004b0-BQ; Mon, 17 Jun 2019 19:30:03 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKJ-0004RH-UT for linux-riscv@lists.infradead.org; Mon, 17 Jun 2019 19:30:01 +0000 Received: by mail-wr1-x435.google.com with SMTP id n4so11232811wrw.13 for ; Mon, 17 Jun 2019 12:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6SeONynbSMb/LpB25tjr9lmR6DQm+1ofOPgJs9DwU6s=; b=KN3JUQFoVuq9g3d+sb2f+QypVLDr1ZifAcfACFXChB6X/9q8jBPhRVDdyiExH1m3mV 4OoN0VKm4Q/3iAeE0umwZfvRBP6JOtgaccSFJy6PXjkL3NYW9kywWAvrdlnw8csAHSDM XsO58I/TyjFdNXZkQyYogh8K3AWIQv8GoCMsT9p4A+0mDVKDoAX3SzG/mivs6LQy02lc kVIsRTxdYdTFHgFtzThiogIeEx2DttZ40TYOCUDkHUs1FP95hAiEfSnGL6P5J6qAe00n 2zQtUDESDqN1ma5jBS+d98sBvFN3jVzNS5e956lpY2eJWb6wzTFgbZ/VIAnRgTLOkNeR neMw== 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=6SeONynbSMb/LpB25tjr9lmR6DQm+1ofOPgJs9DwU6s=; b=k6BVwHYvc/MYHRWif/B6B524U0K+qoNYKdoksyPG5saNJIx3uswMqhpDWiTH2ocgxp CmYPl0KtfBKeT11C3ozh0SGnNkY7X7+Ybec9VlZ9RlYZtO50pv19SvyjW8KUyrOxbRs8 lQfreuO00IdTDwVI8yrgnCpH+bGVFHlAEjmwUUv/VBYReRs8lv5Z0MjdIAwIfJMR+XlJ d7PNvkkuDvApk6pbFVyxUJjCCWdEEgZ+m4BtmCjLP6g+t+qTYYnFWuOW4Cc37X+o8fOp FeYXrPIwf4vO34DKlg2dExCdAsOyFFD0YUsBiz4fpFRvRDzhLC7O0EzruCXCkO8E9Wdo mjwQ== X-Gm-Message-State: APjAAAWEOPrWRiUboScKUuEnpO4C+oMhlkL+h2UvXAbiXHXHcuZTzw+F qUCJ4kcQ/abiPG0kGnLTqhjU5w== X-Google-Smtp-Source: APXvYqxBW7xGdL5vy7Z5G05hC4Mb55jO/UL6X2jStGLj9tRh7aNLnmpN/x7su76+0qlemQjt8f9ntQ== X-Received: by 2002:adf:e705:: with SMTP id c5mr48983855wrm.270.1560799795842; Mon, 17 Jun 2019 12:29:55 -0700 (PDT) Received: from loys-ubuntu-BY1835A49200471.thefacebook.com (cust-west-pareq2-46-193-13-130.wb.wifirst.net. [46.193.13.130]) by smtp.googlemail.com with ESMTPSA id u18sm9412034wrr.11.2019.06.17.12.29.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jun 2019 12:29:55 -0700 (PDT) From: Loys Ollivier To: Palmer Dabbelt , Paul Walmsley Subject: [PATCH 1/3] arch: riscv: add config option for building SiFive's SoC resource Date: Mon, 17 Jun 2019 21:29:48 +0200 Message-Id: <1560799790-20287-2-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> References: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190617_122959_980575_304AF6DA X-CRM114-Status: GOOD ( 12.51 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Loys Ollivier , linux-kernel@vger.kernel.org, Kevin Hilman MIME-Version: 1.0 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Create a config option for building SiFive SoC specific resources e.g. SiFive device tree, platform drivers... Signed-off-by: Loys Ollivier Cc: Paul Walmsley Cc: Palmer Dabbelt Reviewed-by: Palmer Dabbelt --- arch/riscv/Kconfig | 2 ++ arch/riscv/Kconfig.socs | 8 ++++++++ arch/riscv/boot/dts/sifive/Makefile | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/Kconfig.socs diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index ee32c66e1af3..eace5857c9e9 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -94,6 +94,8 @@ config PGTABLE_LEVELS default 3 if 64BIT default 2 +source "arch/riscv/Kconfig.socs" + menu "Platform type" choice diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs new file mode 100644 index 000000000000..60dae1b5f276 --- /dev/null +++ b/arch/riscv/Kconfig.socs @@ -0,0 +1,8 @@ +menu "SoC selection" + +config SOC_SIFIVE + bool "SiFive SoCs" + help + This enables support for SiFive SoC platform hardware. + +endmenu diff --git a/arch/riscv/boot/dts/sifive/Makefile b/arch/riscv/boot/dts/sifive/Makefile index baaeef9efdcb..6d6189e6e4af 100644 --- a/arch/riscv/boot/dts/sifive/Makefile +++ b/arch/riscv/boot/dts/sifive/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-y += hifive-unleashed-a00.dtb +dtb-$(CONFIG_SOC_SIFIVE) += hifive-unleashed-a00.dtb From patchwork Mon Jun 17 19:29:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loys Ollivier X-Patchwork-Id: 11000349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D1D313AF for ; Mon, 17 Jun 2019 19:30:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F36928784 for ; Mon, 17 Jun 2019 19:30:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73B1328906; Mon, 17 Jun 2019 19:30:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 29B4A28784 for ; Mon, 17 Jun 2019 19:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Pvktd5HxTO79VSVrZxCOutV2ck6RVtIIIzkTyB/KMDw=; b=rxvOtwPKGeU+9DiFjZI8B/x5AI pBaFJZwX4caBgJ2hDQC1mmUnwwI6VtQg86MDk6JHRX7xAtSK5FgAyOI6tL555lnioundIgMlvjmTP OjIu5SwpxBzB/zitAK0F2xsSmZwk8m/jhEzuO1wLXHMsb4XbmbHLZDP5ODeHTrBPZiUY/ujGlbTR8 4zk+X8sLdtoIlLKcy9iJnH63NUi9hJrf4ZsqZvQx9yx/XdK1BrafIfxE4NhkYK0AFOhZvD1HNbFD0 /+97XDijeaM3KymZwax21l6pMI2drdt696SwmrcVaf1H8d4EhVNxQatuQH9rYuMxeE4tV81d5OKXi rmHXcKyw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKR-0005A5-UV; Mon, 17 Jun 2019 19:30:07 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKJ-0004Ro-Ve for linux-riscv@lists.infradead.org; Mon, 17 Jun 2019 19:30:01 +0000 Received: by mail-wm1-x344.google.com with SMTP id x15so625500wmj.3 for ; Mon, 17 Jun 2019 12:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=pLDKBn/rLn9JtAy1R8FKXFV1pHYiHH80xHdW2AHq76o=; b=DnkiSLYsEq+K6UwHvuKcniGNMtC1VAAJVH4kaIlIK99n01SJqwxnXECrKm5rOyiBk9 bkZUXZ8Mg+JGribMc6w1tilz4fe/n/lgi+P11r6Mprc0IQJDyhK0oTNjShwkIcCBxwM7 TNVYXcWi50BYWcMPwXChvRnGZlOqi8pJvR5uk8WE3p8vRL1JXzk0BLKWQ9zLQohZDb2t ZAkRlxwj+prGx5/jOC0nOe8cxiiK5Bbl/LWGa4X9pw9JSWMdSveYfzJqI0zm64winfbc NqlGBlsdKQv/ABACo38l3rvGDQxtX+6X2ETn+94nbPJx7xxASEAGzZSKgoVofjMFOlfU yg6Q== 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=pLDKBn/rLn9JtAy1R8FKXFV1pHYiHH80xHdW2AHq76o=; b=H8tJU8Mgem7cuiJg5yNBFjsmQrS5a1GAqVPKsmRdz9AEcVcwy84cTCXuITVHJ8nzmX bmsEBN3NO/klSf7TNIKkLs2TV8/7K53ynzQXv08P8vROhotFfxtTUaspi/uZ4BitEqJR LdwAs5B2eO59s45ttChsPz66sEkgpG+Mdx+dtOBQszvmvw1+D+nyEgyBiNZai4+Mz4rS jT4GisQ0n4MH6XJz/VejSP+Q5yIl6plUlwY7WDlWXC5ObnN37Dly5uJVGolGJtNX8NUV FYYT7h/Ku3UtNtLmtg10jGYqqb7s2yerrQxhd9yH/GbF2IQuwUd3NOn9Dt7hDYLYP3wm GR4A== X-Gm-Message-State: APjAAAWqltKXRQobpmeqrXZyui4XwF8cK3PsRXvi8Y458smHrOYUWad+ XjaqD6PKIm7kyIDFkhpz8vZA0A== X-Google-Smtp-Source: APXvYqwzSn6QF6/tx1P4ONWL+aQ1cDMzNSHZ+vQ7fVHmaZUy1tTyC2v6scoAFh5dLZLMBXMhszyC2Q== X-Received: by 2002:a7b:ca43:: with SMTP id m3mr158418wml.45.1560799796773; Mon, 17 Jun 2019 12:29:56 -0700 (PDT) Received: from loys-ubuntu-BY1835A49200471.thefacebook.com (cust-west-pareq2-46-193-13-130.wb.wifirst.net. [46.193.13.130]) by smtp.googlemail.com with ESMTPSA id u18sm9412034wrr.11.2019.06.17.12.29.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jun 2019 12:29:56 -0700 (PDT) From: Loys Ollivier To: Palmer Dabbelt , Paul Walmsley Subject: [PATCH 2/3] riscv: select SiFive platform drivers with SOC_SIFIVE Date: Mon, 17 Jun 2019 21:29:49 +0200 Message-Id: <1560799790-20287-3-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> References: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190617_123000_018932_D5502C43 X-CRM114-Status: UNSURE ( 8.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Loys Ollivier , linux-kernel@vger.kernel.org, Kevin Hilman MIME-Version: 1.0 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On selection of SOC_SIFIVE select the corresponding platform drivers. Signed-off-by: Loys Ollivier Reviewed-by: Palmer Dabbelt --- arch/riscv/Kconfig.socs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 60dae1b5f276..536c0ef4aee8 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -2,6 +2,11 @@ menu "SoC selection" config SOC_SIFIVE bool "SiFive SoCs" + select SERIAL_SIFIVE + select SERIAL_SIFIVE_CONSOLE + select CLK_SIFIVE + select CLK_SIFIVE_FU540_PRCI + select SIFIVE_PLIC help This enables support for SiFive SoC platform hardware. From patchwork Mon Jun 17 19:29:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loys Ollivier X-Patchwork-Id: 11000351 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 501051398 for ; Mon, 17 Jun 2019 19:30:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4274F28784 for ; Mon, 17 Jun 2019 19:30:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36EE428906; Mon, 17 Jun 2019 19:30:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E2E4D28784 for ; Mon, 17 Jun 2019 19:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=j6f7IM9YzQBSt/Klie/UWPhPZawKE7Db4JVrrJPkjW0=; b=QigWkTvKszuri3Kumrcjtp7Nq+ V41HUvzcP8KLX6JvKv2nJ0JqdDsyGWgT0mG4IpW9BrWp8+se/oT6Ewz7u8kytcjntfCITOBZpRjq3 YwruwykTKXGvyjBfq9swEI4z4BeS+G55malANTv4q7HoUcGOXtVfG5HG+rN6qD1CkSqPXe0aM1UKr ntLr1XYITpHJZwax6H4gxtAc+l8mPCMSYRjIV/pk2cmG6PO2Lemp/8JWUt1XQpgOpPCp9F/b5ZqNE /vifYAP5c3EAqp9YKSzTsIhOQmRIqmB1S2hkWuJnW/OZr1rPhS9+xd+PIE++8lMJjuSccr3vIKy9z ZlpxaO/g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKV-0005i6-KV; Mon, 17 Jun 2019 19:30:11 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hcxKM-0004TF-Ox for linux-riscv@lists.infradead.org; Mon, 17 Jun 2019 19:30:04 +0000 Received: by mail-wr1-x443.google.com with SMTP id p11so11276910wre.7 for ; Mon, 17 Jun 2019 12:29:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EkTsmPm54nV9I4eCV7klbBI2xmAyNZbDf6YnrgHdVW0=; b=AmGxu5F0KkO3GEQ+Ip9mfFWBY+gHo846Sjgr7/Mu/jH0pE9VoO7pZ8yAl7ZzP1xgNv oM1KZ0aJNGsTRu6qeMpzYy5xBvKeV/zhKXEfoRZCSPXxxuw+lE1meqg9Ldgwb/8SLQKP PX9onnzJjT7tzw5wGIhQwOQ2F7fcB9J6k387s9l30NMFJ0RJiY8x4Jo7ZP5QFD7jVjVG DBP4xEwe3rQX/S4eCkfcidL0fqh2msiwMk3NV1xO5kc53n6n/FJUQ4Ku6+rs/vKVVvw8 gJBxdh+YyBGwEIv8EOEGhEAY3sqkh5Qt2YBAEF98qNIc8yykvpK3RydN2xGe37fzTojI tLyg== 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=EkTsmPm54nV9I4eCV7klbBI2xmAyNZbDf6YnrgHdVW0=; b=uI+m85jBjtedY5tCckg78xPbmLvWi8kwlUlxMswzBFRrdVFGzNn5N7D+JSd1/8v8An bFY52UOn3i5mVNAA0uiGntYHGWjM58RoBlzWVwtZy7R+LFxqMWo0tDsnR1nLtC9s7NED Mg6ZFShz3MSPGjhJ+f5/+MFtmOJoXeo944a5uZ3PVeOz7aqSQSHF4VjbW0h5F+BUl5JC /J4K6Q/3sji7fKXbWUjcgIiHbLLWNzWgdQifGtS027/qlFCSCegJy6eYHx2lxyrRzl+r R8s1zFT8xdT2ePcabd2UOpsYs6hBKlIWUiSUyoJG4fcgmihdxmFLXkGlmz+A8NWBDozW hHCA== X-Gm-Message-State: APjAAAVZAmbYp9CfcUeqAhgY3p6AQmPQo7HANrAj5FSbasv4zVUtma2H lPdQLUDtvZ2jGZq6+3aXAXk8Rov0th75xg== X-Google-Smtp-Source: APXvYqyX0kVbSqS7aC4sfwCCNuTTDSn5b7E8alU67haUiF3ORjBg9no+KsXo3NxLtJPX9fne/yCrhw== X-Received: by 2002:adf:fecd:: with SMTP id q13mr7631641wrs.97.1560799797685; Mon, 17 Jun 2019 12:29:57 -0700 (PDT) Received: from loys-ubuntu-BY1835A49200471.thefacebook.com (cust-west-pareq2-46-193-13-130.wb.wifirst.net. [46.193.13.130]) by smtp.googlemail.com with ESMTPSA id u18sm9412034wrr.11.2019.06.17.12.29.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jun 2019 12:29:57 -0700 (PDT) From: Loys Ollivier To: Palmer Dabbelt , Paul Walmsley Subject: [PATCH 3/3] riscv: defconfig: enable SOC_SIFIVE Date: Mon, 17 Jun 2019 21:29:50 +0200 Message-Id: <1560799790-20287-4-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> References: <1560799790-20287-1-git-send-email-lollivier@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190617_123003_014962_C74E5077 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Loys Ollivier , linux-kernel@vger.kernel.org, Kevin Hilman MIME-Version: 1.0 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable SOC_SIFIVE so the default upstream config is bootable on the SiFive Unleashed Board. And have basic support for future boards based on the same SoC. Signed-off-by: Loys Ollivier Reviewed-by: Palmer Dabbelt --- arch/riscv/configs/defconfig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 4f02967e55de..6e3e37aa8fd1 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -12,6 +12,7 @@ CONFIG_CHECKPOINT_RESTORE=y CONFIG_BLK_DEV_INITRD=y CONFIG_EXPERT=y CONFIG_BPF_SYSCALL=y +CONFIG_SOC_SIFIVE=y CONFIG_SMP=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y @@ -49,8 +50,6 @@ CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_EARLYCON_RISCV_SBI=y -CONFIG_SERIAL_SIFIVE=y -CONFIG_SERIAL_SIFIVE_CONSOLE=y CONFIG_HVC_RISCV_SBI=y # CONFIG_PTP_1588_CLOCK is not set CONFIG_DRM=y @@ -66,9 +65,6 @@ CONFIG_USB_OHCI_HCD_PLATFORM=y CONFIG_USB_STORAGE=y CONFIG_USB_UAS=y CONFIG_VIRTIO_MMIO=y -CONFIG_CLK_SIFIVE=y -CONFIG_CLK_SIFIVE_FU540_PRCI=y -CONFIG_SIFIVE_PLIC=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_AUTOFS4_FS=y