Skip to contentSkip to conversation

arm: socfpga: soc64: Use UCLASS_MTD instead of UCLASS_MISC

PATCH New Jit Loon Lim 1 participant 1 message Sep 16, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: soc64: Use UCLASS_MTD instead of UCLASS_MISC

From: Ley Foon Tan <[email protected]>

Commit 407b01b3b3f5 ("mtd: rawnand: denali_dt: use UCLASS_MTD instead of UCLASS_MISC") change to use UCLASS_MTD instead of UCLASS_MISC. Update spl_boot_device() to use UCLASS_MTD.

---
 arch/arm/mach-socfpga/spl_soc64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/spl_soc64.c +1 -1
index ea1acaf309..38f69aa957 100644
@@ -62,7 +62,7 @@ u32 spl_boot_device(void)
 	switch (device_get_uclass_id(dev)) {
 	case UCLASS_SPI_FLASH:
 		return BOOT_DEVICE_SPI;
-	case UCLASS_MISC:
+	case UCLASS_MTD:
 		return BOOT_DEVICE_NAND;
 	case UCLASS_MMC:
 		return BOOT_DEVICE_MMC1;
Signature · 1 line
2.26.2