Pasthis

Raw | New paste
Never expires.
diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c
index 93b8e7de4d0..db6c3a3324a 100644
--- a/arch/arm/mach-rockchip/spl-boot-order.c
+++ b/arch/arm/mach-rockchip/spl-boot-order.c
@@ -9,6 +9,7 @@
 #include <mmc.h>
 #include <spl.h>
 #include <asm/global_data.h>
+#include <dm/device_compat.h>
 
 #if CONFIG_IS_ENABLED(OF_LIBFDT)
 /**
@@ -55,6 +56,8 @@ static int spl_node_to_boot_device(int node)
 		if (!desc)
 			return -ENOENT;
 
+		dev_err(dev, "devnum: %d\n", desc->devnum);
+
 		switch (desc->devnum) {
 		case 0:
 			return BOOT_DEVICE_MMC1;