common/spl/spl_ufs.c refers to BOOT_DEVICE_UFS, which RISC-V does not
define. Selecting CONFIG_SPL_UFS_SUPPORT therefore breaks the build.

Add the missing enum value, keeping the arm ordering.

Signed-off-by: Urvashi Sharma <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Leo <[email protected]>
Cc: Tom Rini <[email protected]>
---
 arch/riscv/include/asm/spl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/include/asm/spl.h b/arch/riscv/include/asm/spl.h
index 9c0bf9755c9..4eb799d2237 100644
--- a/arch/riscv/include/asm/spl.h
+++ b/arch/riscv/include/asm/spl.h
@@ -27,6 +27,7 @@ enum {
        BOOT_DEVICE_XIP,
        BOOT_DEVICE_BOOTROM,
        BOOT_DEVICE_SMH,
+       BOOT_DEVICE_UFS,
        BOOT_DEVICE_NONE
 };
 
-- 
2.34.1

Reply via email to