Pasthis

Raw | New paste
Never expires.
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index f72ea416cf1..bf0b707ee91 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
@@ -1479,9 +1479,22 @@ bool ofnode_pre_reloc(ofnode node)
 	 * count as handled pre-relocation for later second init.
 	 */
 	if (ofnode_read_bool(node, "bootph-pre-ram") ||
-	    ofnode_read_bool(node, "bootph-pre-sram"))
+	    ofnode_read_bool(node, "bootph-pre-sram")) {
+		printf("%s: %d\n", __func__, __LINE__);
+		if (node.np) {
+			printf("%s: %d\n", __func__, __LINE__);
+			if (node.np->full_name) {
+				printf("%s: %d\n", __func__, __LINE__);
+				if (!strcmp(of_node_full_name(node.np), "/mmc@fe2e0000"))
+					printf("%s: %d\n", __func__, __LINE__);
+			}
+		}
+		printf("%s: %d\n", __func__, __LINE__);
 		return gd->flags & GD_FLG_RELOC;
+	}
 
+	/* if (node.np && node.np->full_name && !strcmp(node.np->full_name, "/mmc@fe2e0000")) */
+	/* 	printf("%s: %d\n", __func__, __LINE__); */
 	if (IS_ENABLED(CONFIG_OF_TAG_MIGRATE)) {
 		/* detect and handle old tags */
 		if (ofnode_read_bool(node, "u-boot,dm-pre-reloc") ||