public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V3 01/10] disk: support host devices in dev_print()
@ 2015-10-02  6:06 Stephen Warren
  2015-10-02  6:06 ` [U-Boot] [PATCH V3 02/10] fat: move to a different directory Stephen Warren
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Stephen Warren @ 2015-10-02  6:06 UTC (permalink / raw)
  To: u-boot

Add a case statement for IF_TYPE_HOST in dev_print() so that it prints
the device type rather than the "device type unknown" message.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 disk/part.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/disk/part.c b/disk/part.c
index 43485c9148b0..4e72257434b6 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -179,6 +179,9 @@ void dev_print (block_dev_desc_t *dev_desc)
 	case IF_TYPE_DOC:
 		puts("device type DOC\n");
 		return;
+	case IF_TYPE_HOST:
+		puts("host device\n");
+		break;
 	case IF_TYPE_UNKNOWN:
 		puts("device type unknown\n");
 		return;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-05-17 23:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02  6:06 [U-Boot] [PATCH V3 01/10] disk: support host devices in dev_print() Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 02/10] fat: move to a different directory Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 03/10] fat: add ff.c implementation Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 04/10] fat: ff: add ifdef to avoid unused function warning Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 05/10] fat: ff: read max contiguous file data Stephen Warren
2015-10-20 18:57   ` Stephen Warren
2015-10-20 19:10     ` Tom Rini
2015-10-20 20:40       ` Stephen Warren
2019-05-17 23:03       ` Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 06/10] fat: ffconf.h changes for U-Boot port Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 07/10] fat: port integer.h to U-Boot types Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 08/10] fat: add U-Boot to ff.c API conversion wrapper Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 09/10] fat: switch to new FAT implementation Stephen Warren
2015-10-02  6:06 ` [U-Boot] [PATCH V3 10/10] fat: remove old implementation Stephen Warren

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