Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp34155ybd; Tue, 25 Jun 2019 15:57:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQCQFZdv2Xk6bzJ220Rn9ip/3ickX5+JoTGXJ6cOhEUPO11+CgD+eDV3Ak5lxJVvtGfUW7 X-Received: by 2002:a17:902:f204:: with SMTP id gn4mr1255129plb.3.1561503466207; Tue, 25 Jun 2019 15:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561503466; cv=none; d=google.com; s=arc-20160816; b=VNpeqRS9/ccHwvT1kElbDLWqepBQabgZ4b+pfUcmG78NwTZXuR6corFERppzVw61vI AkSIYLMD5TsCL2LTu8wegJoD5eWs2Spjh7DHEez1ibGfiTuZUQ3xzdXksfDN6+UU1KvZ zfOKjXPPlla+46+r4Vhc0ZilUbK1x/+dCT3/lJiXA/PKzCuUvd6wWlh6CiAriXBiGSBh ZGmbvBGEIPfduuNYSjiY2fpCB0BELa3ZCM9dBVZ2jEZVvmkidvWkZh0ZV0nYQCKtvmrN wuAkDL9loGNKr2/7XEDbnyRIKp+hyvEr4BTvZoVER0ICkRKyIWKHOMyFzEUk6mNBLeBQ GQ5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr :dkim-signature; bh=NiYTFtu6nNjTXaKXHyj3b5X9ByBI8GZ6MLcmuBXNE6w=; b=N8hBW2OorCQeCntbxx1soWajGTv/glCmp0KyKaaVMeZVz6rw3VwEZ8ECXSkyAi15ra MZAPROvCryRO2elz3lTspbUKo6anaWP1Savh1l3+y2taYriav9aLt/QacyPEs8KLeekz rGQ2r6iIaJ++3zxDagZdMppcQlpL+Kzami0b4ntVTibI8Y4YpEsOsy1xaU6F+DPl2UaX 0pj1j+l81Ez3FiHV+HZllVhIQKXI0UqgYojg/j6b+hOkkfvFejyjSSGBlCGu16e8SbaG iPSAfmbXWMEZcZ8dRfPMLCtALfZ9xwjP2DVVeLRB6Cd1tv80vYGj/qtOZ/iCb17ARpLd E1Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=ogADkfwe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si14639472pgv.147.2019.06.25.15.57.29; Tue, 25 Jun 2019 15:57:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=ogADkfwe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726439AbfFYW4w (ORCPT + 99 others); Tue, 25 Jun 2019 18:56:52 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:62522 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbfFYW4w (ORCPT ); Tue, 25 Jun 2019 18:56:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1561503412; x=1593039412; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZA+/stBEiltqseSxmuzq7O/QVj+jN7ZxS+dReMTEjRk=; b=ogADkfwe6J7UbltHwkkrSz6LtkP2a1YDsZ4wEI6ETToij5+l5Zpea2Xm +bELjnaxgwn5M//LK8cXAAEk41GDS7q2ARr6kmDa29HgjbarmWTVv5Uyp q2rkbRHoSIsvbeLHGwqXUPtuZQE2/ajVUh/oiTVra1RtGMt6Wwv8jROOV 4e4NnEFScrLtsCNLsXWV6SJ6xSg3bvqEZIhLeIaEGWmxzapE9AHZFHwt7 SBzmG0UAISHE4Yc1XD/TjPNqHNs9SXRxIEDCT8jATtCOILSPQ+AYWfcg6 DxEgeAsoRf02JRHH+hJdCQmR0KDJGwR1lZKRWc0Qe/1LopQO3URVB8UHB Q==; X-IronPort-AV: E=Sophos;i="5.63,417,1557158400"; d="scan'208";a="112746514" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 26 Jun 2019 06:56:52 +0800 IronPort-SDR: vCwHRb4ABrTdbJjwivOVH/e+52CPvzDoqFSmkppGzkg87tCUDKeq1oEaxVEwEzinHxCQrw66qL TcnnIo3N1j/d2iIp07/vMdqvrDLazrI3qDHIomfsOL2pa/9WFpbcjzXVkYJAnTGcLnDWhA5Sq4 +aykayhG0PIouXtXN9bHH4K0/N6dpSMfprbQJO2K07tyy4lkJR34256m5Y6+SZLTmARIYNJ5a1 vX10oc4XhaPV0rly36NcSPlhEe84vkuN5Do0LgX7hxRBIOR2bgcxysQZUj1avnoJi53crvxlTN 5qBRpfZ1Yf+IMLVKfzdvlcF0 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP; 25 Jun 2019 15:56:08 -0700 IronPort-SDR: rbW7z9zmHKFPoMp7aRVaU2xWoTWiMDQuCULf5ZYv77U9EUL411lXIjjG3fAzgJjRj1J2/egoSl sQxGT1FwDWd1q0hJeQXyjSFYqMCSL2ilwZBgNdp43V6atd8IloXsbRpCn2RBDFY9/lTcI0cqes d+4iA+fKL4LCvjKdrAh8W40q33v2s48lpv4eZVEGfNCqKLjCzMTBiaJFREprUqd/uMyYxSAibS 73Gv9azT8VL4utljy84bxvE0HYEXe8HQtPpjEMLbTwkgo/rx+0MEtgtYWOKWjt9cSDg3zTaKV7 LZw= Received: from jedi-01.sdcorp.global.sandisk.com (HELO jedi-01.int.fusionio.com) ([10.11.143.218]) by uls-op-cesaip01.wdc.com with ESMTP; 25 Jun 2019 15:56:52 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alistair Francis , Anup Patel , linux-riscv@lists.infradead.org, Olof Johansson , Palmer Dabbelt , Thomas Gleixner Subject: [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V Date: Tue, 25 Jun 2019 15:56:36 -0700 Message-Id: <20190625225636.9288-1-atish.patra@wdc.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, riscv upstream defconfig doesn't let you boot through userspace if rootfs is on the SD card. Let's enable MMC & SPI drivers as well so that one can boot to the user space using default config in upstream kernel. Signed-off-by: Atish Patra --- arch/riscv/configs/defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 4f02967e55de..04944fb4fa7a 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -69,6 +69,7 @@ CONFIG_VIRTIO_MMIO=y CONFIG_CLK_SIFIVE=y CONFIG_CLK_SIFIVE_FU540_PRCI=y CONFIG_SIFIVE_PLIC=y +CONFIG_SPI_SIFIVE=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_AUTOFS4_FS=y @@ -84,4 +85,8 @@ CONFIG_ROOT_NFS=y CONFIG_CRYPTO_USER_API_HASH=y CONFIG_CRYPTO_DEV_VIRTIO=y CONFIG_PRINTK_TIME=y +CONFIG_SPI=y +CONFIG_MMC_SPI=y +CONFIG_MMC=y +CONFIG_DEVTMPFS_MOUNT=y # CONFIG_RCU_TRACE is not set -- 2.21.0