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

Tom Rini trini at ti.com
Fri Aug 31 20:03:14 CEST 2012


Signed-off-by: Tom Rini <trini at ti.com>
---

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

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



More information about the U-Boot mailing list