diff options
author | Robin Gong <b38343@freescale.com> | 2013-09-09 10:33:15 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2013-09-09 10:41:16 +0800 |
commit | 2a04d642b52cf1dc63651e6be016097177b0584f (patch) | |
tree | 87e59bdcfeaf10f0ec2ede5423ed43a89e83d5b8 | |
parent | 49f84c2fcd7243afe433195550ec9982057e2d7a (diff) | |
download | u-boot-imx-2a04d642b52cf1dc63651e6be016097177b0584f.zip u-boot-imx-2a04d642b52cf1dc63651e6be016097177b0584f.tar.gz u-boot-imx-2a04d642b52cf1dc63651e6be016097177b0584f.tar.bz2 |
ENGR00278692 ARM: mx6: use hang() instead of do_reset when wrong dtb file used
Use hang() instead of do_reset, so that we can easily see what error happen.
Signed-off-by: Robin Gong <b38343@freescale.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 61f586c..b3e2554 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -487,7 +487,7 @@ int check_1_2G(void) reg = readl(&fuse_bank0->cfg3); if ((reg >> 16) & 0x3 == 0x3) { if (ldo_bypass) { - printf("ERR:Wrong dtb file used! i.MX6Q@1.2Ghz only" + printf("Wrong dtb file used! i.MX6Q@1.2Ghz only " "works with ldo-enable mode!\n"); /* * Currently, only imx6q-sabresd board might be here, @@ -497,7 +497,7 @@ int check_1_2G(void) * supports both ldo-bypass and ldo-enable mode. */ printf("Please use imx6q-sabresd-ldo.dtb!\n"); - do_reset(NULL, 0, 0, NULL); + hang(); } result = 1; } |