[U-Boot,v7,27/29] SPL: Make un-supported boot device puts a debug instead

Submitted by Tom Rini on Sept. 25, 2012, 12:31 a.m.

Details

Message ID 1348533068-13038-28-git-send-email-trini@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Sept. 25, 2012, 12:31 a.m.
Signed-off-by: Tom Rini <trini@ti.com>
---

 common/spl/spl.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/common/spl/spl.c b/common/spl/spl.c
index 14f7bdb..3aa0703 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -174,10 +174,8 @@  void board_init_r(gd_t *dummy1, ulong dummy2)
 		break;
 #endif
 	default:
-		puts("SPL: Un-supported Boot Device\n");
-		debug("Found: %d\n", boot_device);
+		debug("SPL: Un-supported Boot Device\n");
 		hang();
-		break;
 	}
 
 	switch (spl_image.os) {