Skip to content

Commit 762e52f

Browse files
Damien Le Moalpalmer-dabbelt
authored andcommitted
riscv: fix nommu_k210_sdcard_defconfig
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: 7e09fd3 ("riscv: Add Canaan Kendryte K210 SD card defconfig") Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 5feef64 commit 762e52f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/configs/nommu_k210_sdcard_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CONFIG_SLOB=y
2323
CONFIG_SOC_CANAAN=y
2424
CONFIG_SMP=y
2525
CONFIG_NR_CPUS=2
26-
CONFIG_CMDLINE="earlycon console=ttySIF0 rootdelay=2 root=/dev/mmcblk0p1 ro"
26+
CONFIG_CMDLINE="earlycon console=ttySIF0 root=/dev/mmcblk0p1 rootwait ro"
2727
CONFIG_CMDLINE_FORCE=y
2828
# CONFIG_SECCOMP is not set
2929
# CONFIG_STACKPROTECTOR is not set

0 commit comments

Comments
 (0)