[U-Boot] [PATCH v5 24/25] SPL: Make un-supported boot device puts a debug instead

Tom Rini trini at ti.com
Tue Aug 28 01:18:46 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 3d0cb97..90aaf2b 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -171,10 +171,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