[PATCH] riscv: fix nommu_k210_sdcard_defconfig

Anup Patel anup at brainfault.org
Tue Feb 8 20:02:14 PST 2022


On Wed, Feb 9, 2022 at 9:26 AM Damien Le Moal
<damien.lemoal at opensource.wdc.com> wrote:
>
> Instead of an arbitrary delay, use the "rootwait" kernel option to wait
> for the mmc root device to be ready.
>
> Signed-off-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>

Looks good to me.

Reviewed-by: Anup Patel <anup at brainfault.org>

Regards,
Anup

> ---
>  arch/riscv/configs/nommu_k210_sdcard_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/configs/nommu_k210_sdcard_defconfig b/arch/riscv/configs/nommu_k210_sdcard_defconfig
> index 2a82a3b2992b..af64b95e88cc 100644
> --- a/arch/riscv/configs/nommu_k210_sdcard_defconfig
> +++ b/arch/riscv/configs/nommu_k210_sdcard_defconfig
> @@ -23,7 +23,7 @@ CONFIG_SLOB=y
>  CONFIG_SOC_CANAAN=y
>  CONFIG_SMP=y
>  CONFIG_NR_CPUS=2
> -CONFIG_CMDLINE="earlycon console=ttySIF0 rootdelay=2 root=/dev/mmcblk0p1 ro"
> +CONFIG_CMDLINE="earlycon console=ttySIF0 root=/dev/mmcblk0p1 rootwait ro"
>  CONFIG_CMDLINE_FORCE=y
>  # CONFIG_SECCOMP is not set
>  # CONFIG_STACKPROTECTOR is not set
> --
> 2.34.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv



More information about the linux-riscv mailing list