riscv: fix nommu_k210_sdcard_defconfig
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 9 Feb 2022 03:56:23 +0000 (12:56 +0900)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 25 Feb 2022 03:22:55 +0000 (19:22 -0800)
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@opensource.wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Fixes: 7e09fd3994c5 ("riscv: Add Canaan Kendryte K210 SD card defconfig")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/configs/nommu_k210_sdcard_defconfig

index 2a82a3b2992b2824c29efd1cd1902b6c9d3b2659..af64b95e88cc636e8369306a7203023623066343 100644 (file)
@@ -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