Message ID | 20220916144747.886-1-jit.loon.lim@intel.com |
---|---|
State | Needs Review / ACK, archived |
Delegated to: | Marek Vasut |
Headers | show |
Series | arm: socfpga: soc64: Use UCLASS_MTD instead of UCLASS_MISC | expand |
diff --git a/arch/arm/mach-socfpga/spl_soc64.c b/arch/arm/mach-socfpga/spl_soc64.c index ea1acaf309..38f69aa957 100644 --- a/arch/arm/mach-socfpga/spl_soc64.c +++ b/arch/arm/mach-socfpga/spl_soc64.c @@ -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;