Skip to content

Commit 762e52f

Browse files
Damien Le Moalpalmer-dabbelt
Damien Le Moal
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]> Fixes: 7e09fd3 ("riscv: Add Canaan Kendryte K210 SD card defconfig") Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 5feef64 commit 762e52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)