summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-08-27 14:57:26 -0700
committerTom Rini <trini@ti.com>2012-09-27 11:20:27 -0700
commit1292eaf3530257e24c77979295892718662eda4b (patch)
tree343e38dadb7e6174596879e139cbfbb1c0a37ef5 /common/spl
parent3c6f8a0d19c0c8e2cee3dae933dbc5a75e29906d (diff)
downloadu-boot-imx-1292eaf3530257e24c77979295892718662eda4b.zip
u-boot-imx-1292eaf3530257e24c77979295892718662eda4b.tar.gz
u-boot-imx-1292eaf3530257e24c77979295892718662eda4b.tar.bz2
SPL: Make un-supported boot device puts a debug instead
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/spl.c4
1 files changed, 1 insertions, 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) {