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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2022 10:48:08 +0000 (11:48 +0100)
commite0ff4dffded557fed472ab375bb046443b753f30
treedb6146b4f5a4666fca518a53d9a0d16cae6da09c
parent72aa720acacf063dd0e62bc622296490de1c552f
riscv: fix nommu_k210_sdcard_defconfig

commit 762e52f79c95ea20a7229674ffd13b94d7d8959c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/riscv/configs/nommu_k210_sdcard_defconfig