projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43dfbb2
)
rk30: fix boot mode setup
author
黄涛
<huangtao@rock-chips.com>
Thu, 19 Apr 2012 07:26:30 +0000
(15:26 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 19 Apr 2012 07:26:47 +0000
(15:26 +0800)
arch/arm/mach-rk30/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/common.c
b/arch/arm/mach-rk30/common.c
index b78ea3195bae79ea62c12cc9e55aed131a52f4d9..866284d292a5a3ae4728dc1aab06ea8ae84b1919 100755
(executable)
--- a/
arch/arm/mach-rk30/common.c
+++ b/
arch/arm/mach-rk30/common.c
@@
-93,7
+93,7
@@
static int boot_mode;
static void __init rk30_boot_mode_init(void)
{
u32 boot_flag = readl_relaxed(RK30_PMU_BASE + PMU_SYS_REG0);
-
u32
boot_mode = readl_relaxed(RK30_PMU_BASE + PMU_SYS_REG1);
+ boot_mode = readl_relaxed(RK30_PMU_BASE + PMU_SYS_REG1);
if (boot_flag == (SYS_KERNRL_REBOOT_FLAG | BOOT_RECOVER)) {
boot_mode = BOOT_MODE_RECOVERY;