public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] arm: socfpga: soc64: Use UCLASS_MTD instead of UCLASS_MISC
@ 2022-09-16 14:47 Jit Loon Lim
  0 siblings, 0 replies; only message in thread
From: Jit Loon Lim @ 2022-09-16 14:47 UTC (permalink / raw)
  To: u-boot
  Cc: Jagan Teki, Vignesh R, Marek, Simon, Tien Fong, Kok Kiang,
	Siew Chin, Sin Hui, Raaj, Dinesh, Boon Khai, Alif, Teik Heng,
	Hazim, Jit Loon Lim, Sieu Mun Tang, Ley Foon Tan

From: Ley Foon Tan <ley.foon.tan@intel.com>

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.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
---
 arch/arm/mach-socfpga/spl_soc64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.26.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-16 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-16 14:47 [PATCH] arm: socfpga: soc64: Use UCLASS_MTD instead of UCLASS_MISC Jit Loon Lim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox