From e7f332764b915485cded65139df5699ba5c47807 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 7 Nov 2011 00:04:57 +0000 Subject: [PATCH] 1.3.3: small fix on get_boot_reason --- lk/target/htcleo/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lk/target/htcleo/init.c b/lk/target/htcleo/init.c index 3f6be43..a74dbe1 100644 --- a/lk/target/htcleo/init.c +++ b/lk/target/htcleo/init.c @@ -183,7 +183,7 @@ void target_init(void) } void display_lk_version() { - _dputs("cedesmith's LK (CLK) v1.3\n"); + _dputs("cedesmith's LK (CLK) v1.3.2\n"); } struct fbcon_config* fbcon_display(void); void htcleo_fastboot_init() @@ -228,7 +228,7 @@ unsigned get_boot_reason(void) { boot_reason = readl(MSM_SHARED_BASE+0xef244); dprintf(INFO, "boot reason %x\n", boot_reason); - if(boot_reason==1 || boot_reason==6) + if(boot_reason!=2) { if(readl(0x2FFB0000)==(readl(0x2FFB0004)^0x004b4c63)) {