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

login
register
mail settings
Submitter Tom Rini
Date Sept. 25, 2012, 12:31 a.m.
Message ID <1348533068-13038-28-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/186667/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

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

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) {