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)
commit762e52f79c95ea20a7229674ffd13b94d7d8959c
tree37a8dd6e9bf08a84281f50ff2e89f36346a211fe
parent5feef64f4c67068c49f5409d43c67cabf2327f66
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: 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