diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-02 16:50:58 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-03-04 00:35:19 +0100 |
commit | e2d6f9290d8d2193e3323fb1fa1abf1d165f9ea7 (patch) | |
tree | e85432ee854044cafc6d03ab53c10ff0692b9074 /firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c | |
parent | f30043a0dbb61a5b5b61cf73bd588c7f8d966084 (diff) | |
download | rockbox-e2d6f9290d8d2193e3323fb1fa1abf1d165f9ea7.tar.gz rockbox-e2d6f9290d8d2193e3323fb1fa1abf1d165f9ea7.zip |
rk27generic: Implement power_off()
Change-Id: I6e7685c83c080cbeeff06c588971901e522e4f85
Diffstat (limited to 'firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c')
-rw-r--r-- | firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c b/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c index 5c2abeb121..45cc390d13 100644 --- a/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c +++ b/firmware/target/arm/rk27xx/rk27generic/power-rk27generic.c | |||
@@ -28,7 +28,8 @@ | |||
28 | 28 | ||
29 | void power_off(void) | 29 | void power_off(void) |
30 | { | 30 | { |
31 | 31 | GPIO_PCCON &= ~(1<<0); | |
32 | while(1); | ||
32 | } | 33 | } |
33 | 34 | ||
34 | void power_init(void) | 35 | void power_init(void) |