Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2595920rdb; Tue, 12 Sep 2023 06:50:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnjO+g2TpVfVHWdQSMTHcUXHVAeCHcuGuAXYFbGyF7ucelFNS46Sup54SW0oKk+LkuNgc6 X-Received: by 2002:a17:90a:e10c:b0:267:ffcf:e9e3 with SMTP id c12-20020a17090ae10c00b00267ffcfe9e3mr12489589pjz.46.1694526628713; Tue, 12 Sep 2023 06:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694526628; cv=none; d=google.com; s=arc-20160816; b=H7GMt7CCah4guMMlQFOTCOfV+NBEzH4Hiv5DpsnyfYx+6J1Aj6XrooBnKqpBeQGTCg UQtzYAbbEiZzTx+IxZcy6yXIVPb+OSWfvz1ONNCrk+GGWpc0S+hCWb5NLdTEuhDAqkmm ul/XJVOJSRA25GOe7+TkI6Cjz3ybpTA/MG7ug+XpTnLwnqg50NZDLA65P0HaT2309TQ1 F3MeX6AJd+4SWjQokOtndD1e2DPmEwL0OHsEDFYTz9iKTU2pD+YLgE39/7DeWwIenS1X vPNlljGRBTsKOMUqzXptYe6uXn8AW8429dC78qrjdwSgwJTop5wmyYEzrXKWhG6G8kFC vtHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=Wr33cHp8KTWagc53ee6PdK6T5PXvygj6/vvSu+Ehlpk=; fh=l0ODcOArEIFy7paj+8b8vzDCsk2s2DpDqk17cfudqfU=; b=D9XesHw/jwoe+TzFD6BIg0NLSEEZ+N+pK6Nket+rGkD/tGFYDoREDueHOgtSlk9Kca SVfIjMGbro4GVPyGw1B8lsjKeV6tXlH94X6uPRbi+SVSplN+CalFOfTdxAYMONWUAb7x +5zzHvo+D8ESnkVtjeeR5hlm9Gvgg3/OM6Q+4tNhF6k7eyN8vUuKjGafq/4iwCas3bVO B3pHtETDHOvwJjRCVIW8SlFvwOFcIPUXR5Cvr+VBQBJIOZqYnuEAQ5mpj+maWmVVb8xM hzXSQkRzThB8WDgQ44ezSWAvLxwAcAvJZZhrMJeHntvGhaDPSmPOZA6YC5OZhNReJ7+F bFQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p4-20020a17090ab90400b00268b5d65afcsi9829767pjr.58.2023.09.12.06.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A56588227435; Tue, 12 Sep 2023 06:33:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235943AbjILNdP (ORCPT + 99 others); Tue, 12 Sep 2023 09:33:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235503AbjILNcm (ORCPT ); Tue, 12 Sep 2023 09:32:42 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B2D72123 for ; Tue, 12 Sep 2023 06:32:15 -0700 (PDT) X-QQ-mid: bizesmtpipv602t1694525493t476 Received: from localhost.localdomain ( [255.55.58.5]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 12 Sep 2023 21:31:31 +0800 (CST) X-QQ-SSF: 01200000000000302000000A0000000 X-QQ-FEAT: n5ZZfu71JLxz6MwOEsrJsuqDcH7rEDQR0btq3jRrn7DHcQvGJ9LVMjdKmIjvh JCDktGeOKpmJZBOTGF5AyusOz1RPbqXIaM+xW3oBUwYNF+XjMgdTm37xKaYK/xl6O7j+2Zh sVfvh/bHB73yBUjDSy7VomzjLsl0c1zKxDjPinRcCrvHTpAaXpiXxcrYzpsOl0Pv9l+LXjQ dnMjpdkxDoZHR6uALLyruupAvTm0C9fNHKcF7K67PdiYIOQ+3asQkwGJY83M06PEQKpxBAV xh+zM1X97JhIoX+EORYPwL+Wwu2CVA1vL4mJQTZcqUuSkzl2+TTLc1fGerQl9FHuMKgrY0r fvZxKscTVAdHMhOW3g= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 3363788168851752325 From: Jinyu Tang To: william.qiu@starfivetech.com, hal.feng@starfivetech.com, conor.dooley@microchip.com, palmer@dabbelt.com, apatel@ventanamicro.com Cc: ttjjyystupid@163.com, falcon@tinylab.org, wangjiexun@tinylab.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jinyu Tang Subject: [PATCH v2] riscv: defconfig : add CONFIG_MMC_DW for starfive Date: Tue, 12 Sep 2023 21:31:28 +0800 Message-Id: <20230912133128.5247-1-tangjinyu@tinylab.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpipv:tinylab.org:qybglogicsvrsz:qybglogicsvrsz3a-0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:33:35 -0700 (PDT) X-Spam-Status: No, score=4.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_ILLEGAL_IP,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email If these config not set, mmc can't run for jh7110, rootfs can't be found when using SD card. So set CONFIG_MMC_DW=y like arm64 defconfig, and set CONFIG_MMC_DW_STARFIVE=y for starfive. Then starfive vf2 board can start SD card rootfs with mainline defconfig and dtb. Signed-off-by: Jinyu Tang --- v1 -> v2: Change the order of these by using savedefconfig, thanks to Conor Dooley. arch/riscv/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index ab86ec3b9..76c43a532 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -169,6 +169,8 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_CADENCE=y CONFIG_MMC_SPI=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_STARFIVE=y CONFIG_MMC_SUNXI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_SUN6I=y -- 2.39.2