From patchwork Fri Jun 10 10:02:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12877274 X-Patchwork-Delegate: geert@linux-m68k.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18BEEC433EF for ; Fri, 10 Jun 2022 10:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244420AbiFJKCM (ORCPT ); Fri, 10 Jun 2022 06:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347726AbiFJKCK (ORCPT ); Fri, 10 Jun 2022 06:02:10 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A3EB0D0E for ; Fri, 10 Jun 2022 03:02:08 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:6907:80d7:a5b:48f8]) by laurent.telenet-ops.be with bizsmtp id hN262700a35NJNs01N27Xl; Fri, 10 Jun 2022 12:02:07 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1nzbSw-003RJy-GI; Fri, 10 Jun 2022 12:02:06 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1nzbSw-00BJfo-0t; Fri, 10 Jun 2022 12:02:06 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC] arm64: defconfig: Enable HyperBus support Date: Fri, 10 Jun 2022 12:02:02 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Enable modular support for HyperBus, which is used on R-Car Gen3 and Gen4 platforms. Note that the actual Renesas RPC-IF HyperBus driver (RPCIF_HYPERBUS) is not enabled, as it depends on MTD_CFI_BE_BYTE_SWAP. Signed-off-by: Geert Uytterhoeven --- I think we cannot just enable MTD_CFI_BE_BYTE_SWAP in a generic kernel, as that may break other platforms. Is that correct? To be queued in renesas-devel for v5.20, after the above has been resolved. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c8cbb98ea6bc4d21..afda8325ca9b675a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -270,6 +270,7 @@ CONFIG_MTD_NAND_MARVELL=y CONFIG_MTD_NAND_FSL_IFC=y CONFIG_MTD_NAND_QCOM=y CONFIG_MTD_SPI_NOR=y +CONFIG_MTD_HYPERBUS=m CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m CONFIG_VIRTIO_BLK=y