[PATCH 1/2] bootm: restore load DT message for plain oftree files

Lucas Stach l.stach at pengutronix.de
Fri Feb 12 08:58:22 PST 2016


This message was dropped when reorganizing the DT loading code,
and it's really confusing to miss this.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 common/bootm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/bootm.c b/common/bootm.c
index 79833e045dc8..671f93f615cb 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -336,6 +336,7 @@ int bootm_load_devicetree(struct image_data *data, unsigned long load_address)
 			ret = bootm_open_oftree_uimage(data, &size, &oftree);
 			break;
 		case filetype_oftree:
+			printf("Loading devicetree from '%s'\n", data->oftree_file);
 			ret = read_file_2(data->oftree_file, &size, (void *)&oftree,
 					  FILESIZE_MAX);
 			break;
-- 
2.1.4




More information about the barebox mailing list