[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230911-uneaten-shuffling-27c862d5fb10@wendy>
Date: Mon, 11 Sep 2023 14:05:06 +0100
From: Conor Dooley <conor.dooley@...rochip.com>
To: Jinyu Tang <tangjinyu@...ylab.org>
CC: <william.qiu@...rfivetech.com>, <hal.feng@...rfivetech.com>,
<palmer@...belt.com>, <apatel@...tanamicro.com>,
<ttjjyystupid@....com>, <falcon@...ylab.org>,
<wangjiexun@...ylab.org>, <linux-riscv@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] riscv: defconfig : add CONFIG_MMC_DW for starfive
On Mon, Sep 11, 2023 at 08:59:55PM +0800, Jinyu Tang wrote:
> 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 can start SD card rootfs with mainline defconfig and
> dtb.
>
> Signed-off-by: Jinyu Tang <tangjinyu@...ylab.org>
> ---
> arch/riscv/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index ab86ec3b9..0664b92d1 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -170,6 +170,8 @@ CONFIG_MMC_SDHCI_PLTFM=y
> CONFIG_MMC_SDHCI_CADENCE=y
> CONFIG_MMC_SPI=y
> CONFIG_MMC_SUNXI=y
> +CONFIG_MMC_DW=y
> +CONFIG_MMC_DW_STARFIVE=y
Is this where savedefconfig puts them? The order here looks different to
the arm64 defconfig.
Thanks,
Conor.
> CONFIG_RTC_CLASS=y
> CONFIG_RTC_DRV_SUN6I=y
> CONFIG_DMADEVICES=y
> --
> 2.39.2
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists