projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e54aef
)
s5pc1xx: sleep: set correct sleep mode by CPU revision
author
Minkyu Kang
<mk7.kang@samsung.com>
Tue, 5 Jan 2010 02:29:09 +0000
(11:29 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Tue, 5 Jan 2010 02:29:09 +0000
(11:29 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal/universal.c
b/board/samsung/universal/universal.c
index
c0dd6da
..
28b100b
100644
(file)
--- a/
board/samsung/universal/universal.c
+++ b/
board/samsung/universal/universal.c
@@
-995,7
+995,12
@@
static void into_charge_mode(void)
#endif
/* EVT0: sleep 1, EVT1: sleep */
- run_command("sleep 1", 0);
+ if (s5pc1xx_get_cpu_rev() == 0) {
+ run_command("sleep 1", 0);
+ return;
+ }
+
+ run_command("sleep", 0);
}
static void check_micro_usb(int intr)